1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

13227 Commits

Author SHA1 Message Date
Dmitry Vedenko
1cd4bef4db Adds a workaround for Conan issue 8025, affecting libjpeg-turbo compilation on AppleSilicon Macs 2021-05-31 14:03:24 +03:00
Grzegorz Pruchniakowski
ac55ef3a39 Update pl.po from Transifex
Update pl.po from Transifex
2 fixes.

Greetings,
Gootector
2021-05-31 02:28:44 -07:00
Dmitry Vedenko
7c1f843322 Use libjpeg-turbo as a wxWidgets dependecy
Turns out, libjpeg is downloaded over plain HTTP from the official IJG site. It is now replaced with libjpeg-turbo.
2021-05-31 02:08:17 -07:00
Dmitry Vedenko
68bd49da87 Copy the library to the desired location after the build 2021-05-28 04:04:40 -07:00
Dmitry Vedenko
c05c05ea7f
Remove the reference for snap as it uses ridiculous amount of space 2021-05-27 22:01:19 +03:00
Paul Licameli
428506ea2f
Merge pull request #923 from Paul-Licameli/Review-of-dithering
Review of dithering
2021-05-27 11:40:28 -04:00
Paul Licameli
9c70887c34 A rewrite in Nyquist to make reinterpret_cast unnecessary 2021-05-27 11:38:10 -04:00
Paul Licameli
f369b5109b Change almost all uses of WaveTrack::Get() to GetFloats() ...
... A call graph browser easily shows that the extra generality of fetching
samples in some other format is only used in Benchmark -- where the format is
always the same as what the track is constructed with.

This makes re-verification of the claims in comments two commits ago easier.
2021-05-27 11:38:10 -04:00
Paul Licameli
0aa8625cff WaveTrackCache was only used with float; don't support other formats 2021-05-27 11:38:10 -04:00
Paul Licameli
4fcb8bffbf Comments about dithering in SqliteSampleBlock 2021-05-27 11:38:10 -04:00
Paul Licameli
528b57ff8e Comments about dithering in ImportAup 2021-05-27 11:38:10 -04:00
Paul Licameli
43310b6a1e Review of ImportAup.cpp ...
... incidental to a review of CopySamples in it.  This code is used only when
importing an old-style .aup project file into the new project format.

Fixed some RAII for file handle.

Rewrote every call to IsGoodInt or IsGoodInt64 with a narrowly scoped temporary
variable.

Use IsGoodInt64 only for total track lengths and positions; but use IsGoodInt
for block and blockfile sizes, which are not supposed to be huge but are
supposed to fit in memory buffers.
2021-05-27 11:38:10 -04:00
Paul Licameli
0053c61c08 Do not dither samples as they pass through RingBuffer...
... See allocation of RingBuffers in AudioIO.

Playback buffers always used floatSample format so this change has no
effect on them.

But we also want no extra dithering applied during recording, where the capture
format might be narrower than float.
2021-05-27 11:38:10 -04:00
Paul Licameli
50a26d9caf CopySamples gives more than binary choice of dither algorithm...
... And so a separate function CopySamplesNoDither is not needed
2021-05-27 11:38:10 -04:00
Paul Licameli
6eb5f3ac5b Eliminate CopySamples calls where destination is always float...
.. Call the function SamplesToFloats instead, or in one place, where source
is also always float, just do memcpy.

Dithering never happened in these cases.
2021-05-27 11:38:09 -04:00
Dmitry Vedenko
bdc5efc7ea
Create pull_request_template.md
Creates a PR template with a checklist
2021-05-27 18:37:07 +03:00
Paul Licameli
c35f7d35cc Startup without pluginregistry.cfg should not violate assertion 2021-05-27 11:07:39 -04:00
Dmitry Vedenko
55ddb32791
Clarifies the build instruction for Linux 2021-05-27 17:03:28 +03:00
Paul Licameli
7e9928e53c
Merge pull request #919 from Paul-Licameli/New-library-for-strings
New library for strings
2021-05-27 09:52:46 -04:00
Paul Licameli
45c6190c51 New library lib-strings for Identifier and internationalization 2021-05-27 09:51:32 -04:00
Paul Licameli
70c4898648 Move class wxArrayStringEx to its own files 2021-05-27 09:51:32 -04:00
Paul Licameli
7cf153a34b Duplicate MemoryX.h into wxArrayStringEx.h, diff should be empty 2021-05-27 09:51:32 -04:00
Paul Licameli
c4487814cf Invert dependency of TranslatableString and audacity/Types.h 2021-05-27 09:51:32 -04:00
Paul Licameli
f7d9602a42 TranslatableString.h does not include Identifier.h 2021-05-27 09:51:32 -04:00
Paul Licameli
bb14a6016f Move TranslatableString to new files 2021-05-27 09:51:32 -04:00
Paul Licameli
4d45054f4c Duplicate Types.h, Internat.cpp in TranslatableString.{h,cpp} 2021-05-27 09:51:32 -04:00
Paul Licameli
d2bdd60e91 Internat doesn't depend on wxCore, ComponentInterface, MemoryX 2021-05-27 09:51:32 -04:00
Paul Licameli
7e697d1d8f Replace many inclusions of Types.h with Identifier.h 2021-05-27 09:51:32 -04:00
Paul Licameli
5a516a7999 Move Identifier, TaggedIdentifier, some type aliases to Identifier.h 2021-05-27 09:51:32 -04:00
Paul Licameli
300b2a1739 Duplicate Types.h into Identifier.h, diff should be empty 2021-05-27 09:51:32 -04:00
Paul Licameli
564235f9c9 GUIPrefs::SetLang wraps new Languages::SetLang ...
... the former uses Prefs, wxApp, and AudacityMessageBox, the latter has no
dependency on them.

Also move some other functions from GUIPrefs into namespace Languages.
2021-05-27 09:51:32 -04:00
Paul Licameli
91e4eeadb8 Remove GUIPrefs::InitLang...
... Expand it in AudacityApp where initializing i18n services.

Just call SetLang directly in CrashReport, because the argument was not null.

Also eliminate call to SetLang in Nyquist, where really only the system language
was needed.
2021-05-27 09:51:32 -04:00
Paul Licameli
ad5f895f65 namespace for Languages, which does not depend on FileNames...
(some small code duplication of code for path lists results)
2021-05-27 09:51:32 -04:00
Dmitry Vedenko
e31593c06a
Update BUILDING.md 2021-05-27 16:46:12 +03:00
Dmitry Vedenko
686828b759
Lower the requirement of Python and CMake
James confirms 

python 3.6.9
conan 1.36.0
cmake 3.17.1
gcc 7.5.0
2021-05-27 16:45:37 +03:00
Dmitry Vedenko
1ac4df1f83 Fixes invalid ARM64 handling in CurlHandleManager 2021-05-27 13:28:21 +03:00
Paul Licameli
938fbb33af doxygen examines modules and libraries too 2021-05-26 23:51:19 -04:00
Dmitry Vedenko
6e11fdaf14 Use expat version that builds with autotools 2021-05-26 09:45:20 -07:00
Dmitry Vedenko
4dc4e86863 Make lib-network-manager an opt-in library 2021-05-26 07:41:47 -07:00
Paul Licameli
fdd20452ea macOS builds: otool -D should not give absolute path of libraries 2021-05-26 06:18:42 -07:00
Dmitry Vedenko
13533c8bfa Fixes MSVC 2017 support 2021-05-26 06:13:38 -07:00
Dmitry Vedenko
2175d0219a
Merge pull request #933 from crsib/networking
HTTP support
2021-05-26 04:19:34 -07:00
Dmitry Vedenko
8289f9dbe2 Change the default lib preference to local 2021-05-26 12:46:45 +03:00
Dmitry Vedenko
4e6a1a81a9 Updates the way shared libraries are hadled
1. We put all shared libraries into one place. Both conan and locally built
2. We invoke CopyLibs to copy the libraries to a proper location and to correctly set the RPATH
Fixes CopyLibs script on Windows


Fixes CopyLibs.cmake for Linux

Fixes CopyLibs on macOS


Fixes CopyLibs on macOS
2021-05-26 12:46:45 +03:00
Dmitry Vedenko
77cc7bed6f Adds lib-network-manager 2021-05-26 12:46:45 +03:00
Dmitry Vedenko
52a835bd61 Adds lib-string-utils 2021-05-26 12:46:45 +03:00
Dmitry Vedenko
733cf89cff Adds curl to the list of system libraries
Fixes macOS build with system libcurl
2021-05-26 12:46:45 +03:00
Dmitry Vedenko
45e4627ac9 Fixes PKG_CONFIG spelling 2021-05-26 12:46:45 +03:00
Dmitry Vedenko
851d8b2272 Add wxwidgets::base to a list of base modules 2021-05-26 12:46:45 +03:00
Paul Licameli
9f59879765 Add a header file to hold strings between string and feature freeze 2021-05-25 10:13:18 -04:00