1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-15 08:07:41 +02:00

12067 Commits

Author SHA1 Message Date
David Bailes
13ec3300a9 Bug 2471 - Mix Stereo down to Mono fails if space at start of track
Fix:
In the constructor for Mixer, the start and end times should be in seconds, not sample numbers.

Also fixed in passing, in computing end time of a track, the max of the two channels should be used, rather than the min.
2020-06-05 14:33:45 +01:00
Paul Licameli
278b40c50d Bug2442: Windows crash when import exhausts disk space...
... Fixed by changing a move constructor to a copy constructor for the
exception object.  Not sure why that should be needed, according to the C++
standard, but so it is with the MSVC compiler.
2020-06-05 00:00:48 -04:00
Leland Lucius
e861598f99 Bug 2470 - Modules may not be found if earlier version failed 2020-06-04 15:55:24 -05:00
Leland Lucius
815e655a5e Bug 2470 - Modules may not be found if earlier version failed 2020-06-03 22:35:57 -05:00
Carlo Bramini
e5968db44f
[CMAKE] SBSMS: fix compilation error. (#467)
If you try to build local SBSMS with CMake for i686, you get many error messages like this one:

audacity/lib-src/sbsms/src/fft.h:346:29: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]

The solution is to add the option provided by SSE_FLAGS.
So, I replicated in this PR the same fix made for local soundtouch and LAME library.
2020-06-03 13:35:10 -05:00
Carlo Bramini
bf859736b2
[NYQUIST] Fix error build with MinGW and CYGWIN (#556)
When compiling, I got this error:

/lib-src/libnyquist/nyquist/nyqsrc/sndread.c: In function 'snd_make_read':
/lib-src/libnyquist/nyquist/nyqsrc/sndread.c:169:30: error: invalid operands to binary | (have 'int' and 'long int *')
  169 |         susp->sf_info.format |= format;
      |                              ^~

I would like to suggest this fix for this error.
2020-06-03 13:16:28 -05:00
Carlo Bramini
717ceb6525
[NYQUIST] Fix build on CYGWIN. (#557)
* [NYQUIST] Fix build on CYGWIN

Cygwin requires to include unistd.h for building without errors.

* [NYQUIST] Fix build on CYGWIN.

Cygwin requires to include endian.h to build without errors.
2020-06-03 13:13:41 -05:00
Leland Lucius
93d4e3a463 Bug 2468 (Python Scripting of Nyquist Effects) 2020-06-03 11:18:14 -05:00
James Crook
fb8214afc9 Reset session data directory on a Reset Configuration. 2020-06-03 13:28:47 +01:00
James Crook
9e3cb149f3 Reset selected tool when resetting configuration. 2020-06-03 13:16:21 +01:00
James Crook
296a9a2291 Bug 2468 - Python scripting of Nyquist effects must set ALL parameters, or all parameters are ignored.
My code is for normal Nyquist effects.  This fix also incorporates a fix from Leland for Nyquist Prompt.  Thanks Leland.
2020-06-03 12:45:15 +01:00
David Bailes
8e6c5c0027 Tools menu: fix duplicate access key 2020-06-03 08:20:37 +01:00
James Crook
3a537540cc Move ResetConfiguration from Help to Tools menu.
Requested by Peter, and I agreed.
2020-06-02 18:01:18 +01:00
Leland Lucius
722da170a1 Bug 2449 - Mac: Attempting to export as M4A(AAC) yields an FFmpeg error message 2020-06-02 10:26:06 -05:00
Leland Lucius
7a08ef3860 Revert "Add path to allow testing locales when using cmake"
This reverts commit e48dbd94f9ef485adff806ea6844618336ee6be6.

There is a pure CMake way of handling this one...
2020-06-01 17:19:55 -05:00
Leland Lucius
e48dbd94f9 Add path to allow testing locales when using cmake 2020-06-01 17:16:03 -05:00
Leland Lucius
feb24f2b14 Bug 2467 - Modules are not available for "Portable" Audacity 2020-06-01 17:02:58 -05:00
Leland Lucius
7f14e8d7ae Restrict combo size across the board
This fixes "too tall" toolbar problems on Windows with some
scaling settings and doesn't (seem to) hurt on the other
platforms.
2020-06-01 12:37:49 -05:00
binarywisdom
5cec22e8a0 fixed bug 2396. Set button now accounts for the existence of legal shortcuts duplicates. 2020-05-31 18:02:30 +01:00
Paul Licameli
223ac3b644 Move an #include ...
... obey the rule that each .cpp file includes the corresponding .h file before
any other except Audacity.h
2020-05-31 10:33:35 -04:00
James Crook
9d5befc196 Bug 2408 - A region label gets split on inserting audio when Sync-lock is turned on 2020-05-31 12:58:59 +01:00
James Crook
bc621158b8 Update OnResetConfig
Now it resets the toolbars, and fixes three common 'stuck-in-a-mode' issues.

Paul wrote: "I would move that function [OnResetToolBars(context)] into ToolManager.cpp so it can be called from ToolBarMenus.cpp and HelpMenus.cpp, with neither of those two dependent on the other."
2020-05-31 12:22:08 +01:00
Leland Lucius
b5e056575b Add missing include 2020-05-31 04:01:32 -05:00
Leland Lucius
c43c757bce Bug 2418 - Time toolbar displays incorrect time if project rate isn't 44100 2020-05-31 03:22:53 -05:00
Leland Lucius
419e152ebd Bug 2403 - Undocking meter toolbars while playing/recording results in a frozen meter 2020-05-31 02:37:07 -05:00
Leland Lucius
7ac58ac4cc Bug 2419 - Time toolbar: Opening and closing preferences resets format to hh:mm:ss 2020-05-30 16:02:15 -05:00
Leland Lucius
7b9040c7e2 Rename TimerToolBar to TimeToolBar 2020-05-30 16:00:24 -05:00
James Crook
56e78922ae Bug 2455 - Audacity window height may be corrupted when using scripting, when minimised. 2020-05-30 14:59:38 +01:00
James Crook
0417b2bf41 Bug 2348 - Residual. Don't select new tracks. 2020-05-30 11:54:21 +01:00
Paul Licameli
3646bb8afe Bug2431: Enable checkbox for ALL realtime effects should work...
... not just for AudioUnits, but also WahWah, VST, etc.
2020-05-29 20:54:45 -04:00
Paul Licameli
c973f0d8ed Do restore a piece of 5e8cfb0c5adf9b3f917123e4d04d00423206d7d5...
... to initialize a variable
2020-05-29 20:54:45 -04:00
Paul Licameli
9894abc4f4 Revert "Bug 2431 - Mac: Real-time effects - Enable checkbox has no effect"
... so I can make a more general fix, for more than only AudioUnit effects

This reverts commit 5e8cfb0c5adf9b3f917123e4d04d00423206d7d5.
2020-05-29 20:54:45 -04:00
Leland Lucius
a4b0635dd5 Bug 2410 - Mac: Cosmetic issues with undocked resizable toolbars in Dark and High Contrast themes 2020-05-29 18:31:35 -05:00
James Crook
d6f8410d56 Bug 2408 part 2.
Only modify label tracks with sync lock, when they are also part of the sync lock group.  This corrects a problem where edits in a wave track culd affect later label tracks that were not in its group.
2020-05-29 22:37:49 +01:00
James Crook
6b1b9cc088 Bug 2408 - A region label gets split on inserting audio when Sync-lock is turned on 2020-05-29 22:27:04 +01:00
James Crook
637712489f Bug 2428 - Nyquist Effects do not display a Progress Dialog if run from a Macro. 2020-05-29 21:54:18 +01:00
James Crook
6d49228d65 Bug 2439 - Mix and Render to New Track selects left channel of new stereo track 2020-05-29 21:13:37 +01:00
Leland Lucius
f3f0f4610d Add lrintf() for 64-bit Windows build 2020-05-29 13:00:25 -05:00
Leland Lucius
458239b04d Use LINGUAS as list of message catalogs 2020-05-29 12:53:07 -05:00
Leland Lucius
7e1f5faaa6 Inline assembler not available for 64-bit targets 2020-05-29 10:57:41 -05:00
Paul Licameli
9360359e9d
Module manager (#549)
* Eliminate ModuleManagerInterface...

... It was there only to provide RegisterModule(), but that was not used
anywhere.  So simplify.

* Remove nested #include of ModuleInterface.h
2020-05-29 10:48:52 -05:00
Leland Lucius
5bede69d11 Bug 2457 - Windows: WAV Export runs 6 to 7 times slower than on 2.3.3 (and 12-14 times slower than 2.2.2) 2020-05-29 08:31:15 -05:00
David Bailes
ef98e5d25f Help menu: add missing access key 2020-05-29 08:31:50 +01:00
Leland Lucius
1b5370bec2 Bug 2456 - audacity 2.3.3 config with Spectral Selection toolbar corrupts lower dock in 2.4.x and can crash 2020-05-29 02:03:46 -05:00
Leland Lucius
5cf8434b06 Bug 2410 - Mac: Cosmetic issues with undocked resizable toolbars in Dark and High Contrast themes 2020-05-28 23:10:48 -05:00
Leland Lucius
8ae8e0f0a5 Bug 2458 - Possible crash when clearing text field in Gain dialog 2020-05-28 20:09:14 -05:00
Leland Lucius
cd38e0e76d Bug 2457 - Windows: WAV Export runs 6 to 7 times slower than on 2.3.3 (and 12-14 times slower than 2.2.2) 2020-05-28 19:21:44 -05:00
Carlo Bramini
8ef97738ad
[CMAKE] Fix build for Cygwin. (#548)
* [CMAKE] fix build for Cygwin.

* [CMAKE] Fix build for Cygwin.
2020-05-28 16:21:22 -05:00
Paul Licameli
e9f63d43d1 Contexts & i18n-hints suggested by Joachim Huffer (thanks!) 2020-05-28 16:34:00 -04:00
Paul Licameli
a93ee4b4bc Fix update_po_files.sh 2020-05-28 16:33:39 -04:00