1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-29 06:59:27 +02:00

814 Commits

Author SHA1 Message Date
Paul Licameli
8ae361d415 Fix some of the compilation breakage in EXPERIMENTAL_SCOREALIGN...
... But some of the header files and functions just don't exist any more.
2016-04-02 15:46:56 -04:00
Paul Licameli
8e447493eb Make old Noise Removal effect compilable again 2016-04-02 13:04:53 -04:00
Paul Licameli
b279325d76 Mac build 2016-04-01 14:46:40 -04:00
Paul Licameli
13595620cf Fix mac build 2016-03-30 23:24:39 -04:00
Paul Licameli
a6ca36cdab TrackList holds smart pointers to tracks, Add() only takes rvalue refs to such 2016-03-26 15:41:31 -04:00
Paul Licameli
c5a70126eb TrackList always deletes tracks on destruction or when cleared 2016-03-26 15:41:29 -04:00
Paul Licameli
bc5519a0e2 TrackList::Remove and TrackListIterator::RemoveCurrent always delete the track 2016-03-26 15:41:26 -04:00
Paul Licameli
4edc960acd Redo Effect::ReplaceProcessedTracks without RemoveCurrent 2016-03-26 15:41:25 -04:00
Paul Licameli
c4fc7e2bf0 MixAndRender returns unique_ptr results (in a std::pair) 2016-03-26 11:50:14 -04:00
Paul Licameli
3015a9c8d9 Track cut and copy functions return a unique_ptr argument...
... Because they are factory functions.
2016-03-26 11:50:13 -04:00
Paul Licameli
5ef4dd46a5 TrackFactory functions return std::unique_ptr, although some callers...
... release() them for now.
2016-03-26 11:50:12 -04:00
Paul Licameli
f42a953752 Track duplication methods return unique_ptr, although some callers...
... simply release() them for now.
2016-03-26 11:50:10 -04:00
Steve Daulton
85bd752de7 Fix for bug 1364 2016-03-24 15:49:46 +00:00
Steve Daulton
ff6a82ae8c Goodbye to magic number in Contrast.cpp
Also added several TODO and FIXME comments for ongoing fixes.
2016-03-24 13:05:03 +00:00
Steve Daulton
4b070725f1 Fix for bug 512 2016-03-24 13:05:03 +00:00
Paul Licameli
f87433ac53 Bug1084: Restore the fix, while also keeping the crash bug 1242 fixed. 2016-03-22 13:21:36 -04:00
Paul Licameli
6f4c198771 Bug1242: fixed crash using VST plugin Ambience...
... Problem was a mismatch between a chunk retrieved for program only, but
then copied to slave effect as for a bank.  Plug-in choked on the GIGO.

Fix makes chunk for bank both ways.
2016-03-22 12:39:34 -04:00
Steve Daulton
7464f49a66 Fix for bug 513 2016-03-22 00:45:48 +00:00
Steve Daulton
3cab059038 Tweak EQDefaultCurve update path
and add log message to aid testing.
2016-03-21 11:59:41 +00:00
Paul Licameli
911513fefe Fix new TruncateSilence -- be sure to iterate over the correct track list 2016-03-14 11:30:03 -04:00
Paul Licameli
74dc49a9e9 Fix new TruncateSilence -- be sure to iterate over the correct track list 2016-03-14 11:29:34 -04:00
Steve Daulton
919712e3f7 Fix default EffectTypeProcess for Nyquist Prompt
Nyquist Prompt did not default to process type if a previous script
in the current session set a different type.
2016-03-14 09:22:25 +00:00
Gale Andrews
311a471286 Less scary message if can't update effect settings 2016-03-09 21:20:54 +00:00
Steve Daulton
7d5e54e364 Fix some assert error in EQ curves
Selected EQ curves in Draw mode should now retain their name
when they are selected.
2016-03-08 21:55:07 +00:00
Leland Lucius
9dc9348127 Fixes bug #1344 (mac build)
In addition, the Xcode project can now build against the 10.6
or 10.7 SDKs.  All that is needed is to change the SDK version
and the other settings will change automatically.
2016-03-07 00:29:26 -06:00
Leland Lucius
1ffd9e4682 Must cast result to float 2016-03-03 00:06:39 -06:00
Paul Licameli
2f6af8bfd5 Merge branch 'master' of github.com:audacity/audacity 2016-03-02 12:44:24 -05:00
Paul Licameli
43790cfa56 std::vector for wave track pointers; remove deprecated TrackList function; ...
... and some more uses of const
2016-03-01 20:54:48 -05:00
Paul Licameli
12adba0c1d Merge pull request #116 from ThomasFeher/fix_warnings_uninitialized
fix -Wmissing-field-initializer (3 occurences)
2016-03-01 17:19:14 -05:00
Thomas Fehér
7e0eb8683c fix -Wmissing-field-initializer (3 occurences) 2016-03-01 20:54:52 +01:00
Paul Licameli
0c9deb398c Fix mac build. No standard headers in Audacity.h. 2016-03-01 12:22:37 -05:00
Paul Licameli
7aee5d09d8 Move the recent const_casts elsewhere 2016-02-29 19:56:27 -05:00
Steve Daulton
4173bb1a37 Fix error in string comparison 2016-02-29 13:26:38 +00:00
Paul Licameli
0094c4f465 Bug1348, partial: Fix bad undo after cancelling Vamp or FindClipping analyzer 2016-02-27 18:12:36 -05:00
Steve Daulton
36f3f8aab2 Update Eq factory presets on upgrade
Add search paths for EQDefaultCurves.xml
2016-02-27 21:20:53 +00:00
Steve Daulton
b5d2528c03 Enable Eq factory presets to be updated on upgrade 2016-02-27 13:17:27 +00:00
Paul Licameli
60f2322055 Fix warnings for returning false instead of null 2016-02-26 14:56:32 -05:00
Paul Licameli
60bcd7aea2 Fix warnings for unused variables and functions 2016-02-26 14:56:26 -05:00
Paul Licameli
990080ae7d Replace virtual with override wherever possible; eliminate needless virtual...
... for functions in final classes.

override is like const -- it's not necessary, but it helps the compiler to
catch mistakes.

There may be some overriding functions not explicitly declared virtual and I did
not identify such cases, in which I might also add override.
2016-02-26 12:35:38 -05:00
Paul Licameli
89f28546a3 Commented suspicious non-override virtual functions of Effect 2016-02-26 12:35:29 -05:00
Paul Licameli
a8652c5e74 uses 2016-02-25 20:18:31 -05:00
Paul Licameli
7824e94030 Harmlessly qualify classes as final (or explicitly comment not)...
... Should have no effect on generated code, except perhaps some slight faster
virtual function calls.  Mostly useful as documentation of design intent.

Tried to mark every one of our classes that inherits from another, or is a
base for others, or has abstract virtual functions, and a few others besides.
2016-02-24 20:58:30 -05:00
Paul Licameli
c98b090182 Rename SyncLockTracksIterator::First to StartWith to be consistent 2016-02-24 12:59:28 -05:00
Paul Licameli
99f161c36c Sweep unnecessary wxString copies: effects 2016-02-22 22:31:47 -05:00
Paul Licameli
1c07741d57 Sizers are owned by wxWindow objects when added, so use safenew, or...
... use unique_ptr in the interim between building them and adding.

This checks eliminates some naked news, which were not paired with deletes.
2016-02-18 18:58:38 -05:00
Paul Licameli
4d78e353c3 Revert "sizers"
This reverts commit 84c0a0b6663a1210be502a76ab9c48dd330b3919.
2016-02-18 14:50:52 -05:00
Paul Licameli
84c0a0b666 sizers 2016-02-18 02:54:50 -05:00
Paul Licameli
dbaa811577 Stack-allocate where possible! ...
... Removed many unnecessary naked news and deletes.
2016-02-17 18:15:57 -05:00
Paul Licameli
df6a7c5464 More uses of safenew for classes we derive from wxWindow classes...
... Also removed some unnecessary deletes of widgets that are managed by parent
windows
2016-02-14 20:39:28 -05:00
Paul Licameli
3f237daddc Use macro safenew for many allocations of wxWindow subclasses 2016-02-14 20:20:19 -05:00