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

608 Commits

Author SHA1 Message Date
Paul Licameli
f52dfd3ac3 New library for math...
... note the swap of target_link_libraries lines in src/CMakeLists.txt,
needed to build at least on macOS, becuase FFT.h must be looked up first in
lib-math, not in lib-src/twolame

Also making a dependency cycle of SampleFormat and Dither!  But we will tolerate
that within one small library.
2021-07-22 16:54:00 -04:00
Paul Licameli
7e50e9b5af New library for preferences...
... It mentions some wxWidgets types in its interface, but these are in the
acceptable utility subset of wxBase that we still consider GUI toolkit-neutral.
2021-07-22 14:50:26 -04:00
Paul Licameli
9ed63b0321 Remove wx/app.h from AudacityException.h 2021-07-21 14:01:58 -04:00
Paul Licameli
0555c1139d Define BasicUI::MakeProgress as abstract factory for progress dialogs 2021-07-18 20:39:25 -04:00
Paul Licameli
189c6c1dbc Move error dialog functions into the BasicUI facade...
... now ErrorDialog.h is included only in ErrorDialog.cpp and
wxWidgetsBasicUI.cpp
2021-07-18 20:39:23 -04:00
Paul Licameli
062abdde5d Move AudacityTextEntryDialog out of ErrorDialog.h...
... Because what's in ErrorDialog needs to hide behind the facade, but
AudacityTextEntryDialog doesn't, yet
2021-07-18 20:37:07 -04:00
Paul Licameli
132f04d272 ManualPageID is a new type; rewrite HelpSystem::ShowHelp and its uses 2021-07-01 13:35:57 -04:00
Dmitry Vedenko
690772ccb0 Use ShowExceptionDialog when we want to show ErrorReportDialog 2021-06-08 08:08:26 -07:00
Paul Licameli
e6e96de0fd Replace most inclusions of MemoryX.h with <memory> ...
... Most often it was needed for a custom definition of std::make_unique, but
we build C++14 now.
2021-06-02 07:08:19 -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
7e697d1d8f Replace many inclusions of Types.h with Identifier.h 2021-05-27 09:51:32 -04:00
Paul Licameli
406b23cae7 More uses of AUDACITY_DLL_API...
... in many places where the function call will later need to be between
modules (or libraries, or the executable) and the annotation will be a necessity
to keep the linkage working on Windows.

That's all that this sweeping commit does.
2021-05-10 10:46:55 -04:00
Paul Licameli
c5ebc396eb Audacity.h has shrunk to nothing, now remove it! 2021-05-10 00:05:23 -05:00
Leland Lucius
e22af714af Bug 2736 - Recent files list can be replaced by ExportCL commands 2021-04-08 20:11:42 -05:00
vishalnarnaware
632ac4ca8e Bug 2511 - Enh: Remove the "Variable Speed: Fast / Standard" option from MP3 dialog
Remove Variable Speed and make Fast default
2021-04-04 13:56:00 +01:00
James Crook
cca372fb92 Bug 2676 - Export: Incorrect handling over 0 dB
This bug was caused by dither being applied to all float output,
and dither clips to +1/-1 to avoid high values, especially NaNs,
polluting audio downstream.

Dither was applied because of an incorrect fix for Bug 1572.
The 1572 fix assumed SF_FORMAT_PCM_24 was a  (1 << N)
value, rather than from an enumeration.  Hence a check
involving it requires a mask, which it now has.
2021-04-03 13:51:35 +01:00
Leland Lucius
7a55c90b9d Bug 2692 - Mac: VI users get trapped in radio buttons of Keyboard Preferences
This also corrects similar problems in other locations as well.
2021-04-01 20:00:12 -05:00
Leland Lucius
3f4fbd1c8c Bug 1572 - Dither not applied when exporting 24-bit WAV from 32-bit float 2021-02-14 17:53:45 -06:00
Leland Lucius
f1b43fd642 Fix build 2021-02-14 03:39:27 -06:00
Leland Lucius
63af846600 Reposition help button on Export dialog 2021-02-14 03:02:32 -06:00
Leland Lucius
754838844d Bug 119 - Linux: Export Multiple: "*" and "?" in label or track name wrongly rejected 2021-01-30 04:13:56 -06:00
Leland Lucius
ae3c89453f Bug 119 - Linux: Export Multiple: "*" and "?" in label or track name wrongly rejected 2021-01-30 03:55:59 -06:00
Leland Lucius
52bde299aa Revert "Bug 2508 - Macros: Export2 handles channels > 2 incorrectly"
This reverts commit 2ecc98225f93e8c3fc85ce61991d0f33364e8b8e.

This is the one I was supposed to revert.
2021-01-29 06:38:12 -06:00
Leland Lucius
2ecc98225f Bug 2508 - Macros: Export2 handles channels > 2 incorrectly 2021-01-29 06:00:36 -06:00
Leland Lucius
058023f978 Bug 2564 - Metadata: Artist and Year tags missing on M4A(AAC) exports 2021-01-27 02:34:06 -06:00
Leland Lucius
a2cee50c01 Bug 2217 - Metadata: When exporting to FLAC the "Comment" field is ignored and not exported with the audio file
I don't know how I lost the original changes, but here they are again.
2021-01-24 09:52:56 -06:00
luzpaz
7a3bdcf3f2
Fix typos (user facing and non-user facing) (#727)
Found via `codespell v2.1.dev0`  
`codespell -q 3 -S *.po,./lib-src -L parm,parms,toke`
2021-01-24 09:46:08 +00:00
Leland Lucius
37a7583306 Bug 2578 - Linux/Windows: Export 24-bit AIFF exports as 16-bit 2021-01-23 13:13:52 -06:00
Leland Lucius
81da0ef1f7 Bug 2217 - Metadata: When exporting to FLAC the "Comment" field is ignored and not exported with the audio file 2021-01-23 04:02:10 -06:00
Leland Lucius
7427653ef6 Bug 2578 - Linux/Windows: Export 24-bit AIFF exports as 16-bit 2021-01-23 01:08:58 -06:00
freddii
534359de6c
Fix minor typos (#720)
Co-authored-by: freddii <https://freddii@github.com>
2021-01-12 11:56:09 +00:00
Paul Licameli
f07fd5d8bc Export failure messages name the file, exactly as with FileException 2020-12-06 14:21:41 -05:00
Paul Licameli
c9a9f0f906 Remove always true argument of ExportPlugin::CreateMixer 2020-11-30 16:31:01 -05:00
Paul Licameli
4871584cb3 Mixer::WarpOptions constructor for common case 2020-11-30 13:42:35 -05:00
Paul Licameli
caa312ab7b Remove some unneeded #includes and forward declarations 2020-11-20 13:47:47 -05:00
James Crook
ec48a3b5a9 Fix export URL 2020-09-21 15:17:52 +01:00
James Crook
6149b57dc0 Bug 2515 - Exporting to a disk with insufficient space gives messages that are not user-friendly or helpful 2020-09-21 15:11:39 +01:00
James Crook
0b633c564a Bug 2515 - (FFmpeg) Exporting to a disk with insufficient space gives messages that are not user-friendly or helpful
FFmpeg now gives the correct message.
Bug not quite closed yet, as other exports are only part done.
2020-09-21 13:05:11 +01:00
James Crook
6d1b3854e9 Bug 2515 - Help buttons for 'Unable to export'
These now all have help buttons to page Error:_Unable_to_export
And they have an error code such as OGG:355 so that (later) on that page
we can describe them better - if they ever happen.
2020-09-21 12:45:43 +01:00
Paul Licameli
7d359a6640 Bug2515: When WAV export fails to write file, give better message 2020-08-27 22:02:40 -04:00
Leland Lucius
9d749fef14 AUP3: Fix macro path handling
Aside from the breakage I added to it during the AUP3 conversion,
there was several other issues discovered in regards to how the
export paths were being handled.
2020-08-10 17:48:59 -05:00
Leland Lucius
85b4a5376f AUP3: Make suggested directory preferences changes
In addition, I've extracted the wxTextCtrl wrapper from the
TimerRecordDialog intto widgets/wxTextCtrlWrapper.h and made
it the default for ShuttleGui::AddTextBox(). This way readonly
text controls are always included in the tab order.
2020-07-29 00:08:48 -05:00
Leland Lucius
e2d6e1cc24 AUP3: Update default/lastused path handling 2020-07-27 14:11:50 -05:00
Leland Lucius
d39590cf41 AUP3: First round of updates
!!! THERE WILL NO DOUBT BE BUGS !!!

This is a big one and there's still several things to
complete. Just want to get this in the wild to start
receiving feedback.

One big thing right now is that it will NOT load pre-aup3
files.  An importer is on the way for that.
2020-07-01 02:30:18 -05: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
Paul Licameli
f3d91f488e Remove extern declarations from .cpp files...
... Require the declarations to be in .h files, to be sure graph.pl detects the
dependencies.

Only one more #include was needed in Nyquist.cpp.   This doesn't reveal any
more hidden cycles.
2020-05-28 05:50:25 -04:00
Paul Licameli
0c97138840 Include only Registry.h where needed, without CommandManager.h 2020-05-28 05:45:11 -04:00
Paul Licameli
4ff0a9d74e Can build for windows without precompiled headers...
... Requires some more wx header inclusions, a renaming of CopyFile (to avoid
colliding with a certain macro changing it to CopyFileW), and an explicit
deletion of a copy constructor and assignment (to avoid generation of
std::vector members for an incomplete type)
2020-05-27 17:36:25 -04:00
Paul Licameli
66c5b76573 Simplify public interface of FileHistory 2020-05-26 10:47:47 -04:00
Paul Licameli
7fbfc2b292 Finish the job of 30dbdf4, deleting abandoned source files...
... And correcting #include paths, and removing mentions in read-me files, and
correcting CMakeLists.txt
2020-05-25 17:21:05 -04:00