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

814 Commits

Author SHA1 Message Date
Paul-Licameli
4cb521923e Better fix for the compilation of NoiseReduction.cpp with wxWindows 3 2015-04-12 20:00:57 -04:00
James Crook
99416c628e WX3_STRING_FIX
A new macro that conditionally casts to wxString if in wx3.
2015-04-12 21:07:01 +01:00
Steve Daulton
a3ec006e3e bug683 initial commit 2015-04-12 18:04:58 +01:00
david avery
066e583883 Revert "update for wx 3.1.0 compatiblity - all changes are either wxCHECK_VERSION(3.0.0) wrapped or safe with wx 2.8 - wx 3.1"
This reverts commit 476a1f62c37a3aab19275230aa5a7806633fb705.
2015-04-12 07:07:50 -06:00
david avery
c112d47147 one more wx 31 change 2015-04-11 21:00:37 -06:00
david avery
476a1f62c3 update for wx 3.1.0 compatiblity - all changes are either wxCHECK_VERSION(3.0.0) wrapped or safe with wx 2.8 - wx 3.1 2015-04-11 17:54:33 -06:00
david avery
ecd0222a15 update src/effects/NoiseReduction.cpp to build on wxWidgets 3 2015-04-11 13:05:10 -06:00
Paul-Licameli
36dd49ff50 Really fix linux compilation! 2015-04-08 15:12:51 -04:00
Paul-Licameli
14a36dad46 Bug834, part 2 - Memory leak and orphans after cancelling any generator
New project.  New track.  Generate sound -- do not cancel.  Select all,
generate sound again -- this time, do cancel the progress dialog.

Undo, so you see one, empty track again.  Save.  Close.  Reopen.

The cause of these orphans is different from the first case.  The previous
commit is necessary but not sufficient to fix this.
2015-04-08 11:41:38 -04:00
Paul-Licameli
a562f2c922 Bug834, part 1 - Memory leak and orphans after cancelling any generator
This fixes the first of two related memory leak bugs:

New project.  Make a new track.  Select the track and use any generator, such
as white noise, specifying a long enough length that a progress dialog appears.
Cancel the progress dialog.

Save the project.  Exit and restart Audacity.  Reopen the project.

Orphans!
2015-04-08 11:40:30 -04:00
Paul Licameli
fe6f83feea Fix small memory leak in noise reduction, whenever Step 1 fails or is cancelled 2015-04-07 12:22:04 +01:00
James Crook
cedc6975e8 Fix missing parameters in chains for ChangeSpeed effect 2015-04-07 12:20:08 +01:00
Paul Licameli
b8af2d566f Bug886 - Some strings not translated in noise reduction
It may be too late for 2.1.0.  But anyway, I have written in the fix in
a way that does not disturb line numberings.
2015-04-05 22:30:48 +01:00
james.k.crook@gmail.com
abda1166de Fixed issue Steve rated as P1/P2 where noise reduction applied to just the (unseen) spectral selection.
Fix, which is to disable that aspect, was agreed between Paul, Bill, Steve (and OI agree too) and as a TL I'm putting it into action so as not to hold up release with a P1.
2015-01-30 20:43:28 +00:00
james.k.crook@gmail.com
58096be5a2 Preparation for 2.1.0 release: (1) Set Noise Reduction parameters to agreed values. (2) [Reluctantly] Disable Module Prefs. 2015-01-24 14:56:29 +00:00
stevethefiddle@gmail.com
57d218bcec Minor bug fix. No user impact. 2015-01-22 08:50:00 +00:00
lllucius
10f62cdae5 Fix for bug #833
This allows duplicate items in the effects menus and provides a
means to uniquely identify each item.
2015-01-19 16:28:48 +00:00
lllucius@gmail.com
85f6279d21 This fixes a couple of issues with AudioUnits and 1 with latency
If latency was introduced by an effect, the input position could
get offset by the amount of latency, such that the same input
would be processed twice for the number of sample of latency.

There was an issue in AUs where a "latency done" flags wasn't
being reset and so the second and subsequent uses of an effect
could not latency correct.

And in research that, I found that you need to set the sample rate
on all 3 scopes (global, input, and output) instead of just the
global scope.
2015-01-11 22:52:08 +00:00
lllucius
a47fc62bb1 Use the correct reserved field in the AEffect struct
Some hosts (like Ardour) use the "user" field and some use
the resvd2 field.  In 2.0.6 I'd switced from resvd2 to user.
This fix puts it back to resv2 since at least one plugin,
Audiocation Phase, uses the "user" field for its own purposes
and rightly so.
2015-01-10 02:14:19 +00:00
lllucius
ea112bddc1 Fix crash reported by Steve
Steps to reproduce:
1) Launch Audacity
2) File > New
3) Generate a sound in the new project
4) Open a LADSPA effect
5) In second project: File > Close, don't save changes.
6) In first project, generate a sound.
7) Click "Play" button - crash :-(
2015-01-06 18:01:04 +00:00
lllucius
3755e57591 Do not call start/stop if suspended
The RealtimeProcessStart/Stop methods are used to process the
samples for the master effect (the one the user interacts with),
it should be bypassed as well if suspended.
2015-01-05 15:50:45 +00:00
lllucius
82b2302921 Fix memleak 2015-01-05 09:15:33 +00:00
lllucius
0a37ca8106 Fix memleak when using text interface 2015-01-05 09:09:00 +00:00
lllucius
cd315f7f1e Do NOT call SetHost() after changing options
This reinits stuff that shouldn't be reinited while actively
previewing.  So, just reload the settings directly.
2015-01-05 09:00:10 +00:00
lllucius
4e8b794452 Fix a conflict between the backported number validator and formatter
When building for wx3 on Linux, the backported number validators
and formatter conflicts with the wx3 version because I never
renamed them.  Crashes during termination would occur because
the wx3 version and our version had different vtables.

I was thinking that we would just be able to delete the
backported version when upgrading to wx3, but since
we've made Audacity specific changes to them we can't
simply start using the real wx3 versions anymore.

Therefore, I needed to rename then to prevent the crashes.
2015-01-04 21:17:16 +00:00
lllucius@gmail.com
fcf2a28867 Fix for opening effect while play is active
Stupid Leland didn't test all cases...grrrr!!!
2015-01-03 17:55:36 +00:00
lllucius@gmail.com
38f27a76a1 Fix building on Linux with wx3 and gtk3 2015-01-03 17:10:53 +00:00
stevethefiddle@gmail.com
a13cb99e67 Modernize ';nyquist plug-in' header command.
Ref. QA topic: http://sourceforge.net/p/audacity/mailman/message/33193296/
2015-01-02 15:24:11 +00:00
lllucius@gmail.com
3fcaddf69f Fix Linux build 2015-01-02 07:15:16 +00:00
lllucius
aaaac65176 Doesn't support chains 2015-01-02 06:56:13 +00:00
lllucius@gmail.com
aa49817563 Fixes 2 VST issues, an RTP issue, and relaxes an AU restriction
1)  Shell VSTs were completely unrecognized...that is no longer the case
2)  All VSTs will now ALWAYS be initialized and cleaned up from the main
    GUI thread.  I found that some Waves VSTs would freeze Audacity when
    initialized in the audio thread and closed in the GUI thread.
3)  While realtime previewing, it was possible that the wrong slave 
    could be used to process new blocks of audio.
4)  I found that the Waves AUs don't crash on a real Mac (instead of a
    virtual machine), so I removed the "black list" I'd put in just for
    them.  (Something to do with needing full 3D support I think.)

Anyway, #2 and #3 were quite intrusive, so as much RTP testing as possible
would be a good thing.
2015-01-02 05:24:43 +00:00
lllucius
0c447f3108 These generators don't support chains, so don't say they do 2015-01-01 10:34:48 +00:00
lllucius@gmail.com
02717da3a2 Fix for bug #808 2014-12-30 22:06:46 +00:00
stevethefiddle@gmail.com
3bf763194b Simplify misleading (and dangerous looking) initialisation. 2014-12-30 12:32:15 +00:00
stevethefiddle@gmail.com
9f5f5e36ad Experimental Nyquist time/date property (idefed out). 2014-12-25 18:22:59 +00:00
stevethefiddle@gmail.com
5b8747c636 Fix - Nyquist requires that the decimal separator is a dot.
This should allow the new Spectral edit plugins to work on systems that use comma as the decimal separator.
Also removes the *F0* and *F1* definitions that are no longer used (superseded by lowHz and highHz properties).
2014-12-25 13:54:00 +00:00
lllucius
e64019dcf6 Trying a checkbox to control enabled state 2014-12-20 18:22:44 +00:00
lllucius
4382a5c835 Replaces enable/disable images and a few other changes
Makes the tooltips display the action that is going to
be performed rather than a generic description.

Disables transport buttons when the effect dialog is
initially displayed if another project has using the 
audio device.
2014-12-20 00:13:33 +00:00
lllucius@gmail.com
9a23598d3f Fix for Linux and Mac builds...
Tried to second guess the headers neads and failed.
2014-12-19 17:05:54 +00:00
lllucius
9bbc261321 Attempt #2 at taming the meter toolbars
It corrects several "multiple project" problems with the
meter toolbars and meters.

In addition, there was a "multiple project" issue where
the transport buttons didn't disable properly in the
non-active project.
2014-12-19 16:38:56 +00:00
stevethefiddle@gmail.com
5d526a8009 Fix - bandwidth may be zero. 2014-12-19 16:18:21 +00:00
lllucius
9fc254a627 Add missing button labels 2014-12-19 09:05:32 +00:00
lllucius
adeb0997e1 Replacing "power on/off" with "enable/disable" 2014-12-19 06:57:22 +00:00
lllucius
fe42e881a5 First stab at taming the meter toolbars
This should correct at least a couple of the reported
issues.  And it also has some fixes in for multiple
project support.
2014-12-17 19:16:08 +00:00
stevethefiddle@gmail.com
4fe3f855eb Fix for clip/split issues with Nyquist plugins. (see also bug 7) 2014-12-17 05:02:13 +00:00
lllucius@gmail.com
9c4f68c6a3 Better "text bar" sizing on Linux and OSX 2014-12-16 22:35:29 +00:00
lllucius
7b6cbeec22 Distinct button bars for graphical and textual modes
This bit the textual mode plain old text based buttons
and retains the bitmap buttons for graphical mode.

It also allowed me to remove the manual accelerator table 
building (no access keys in GUI mode) which was a good 
thing as I really didn't know if the was gonna work for
non-English keyboards anyway.
2014-12-16 21:41:58 +00:00
lllucius
cd94cceb8a More updates suggested by Gale
1)  Manage Effect -> Manage on the menu button
2)  Update uncapped "Ladspa" to "LADSPA"
2014-12-16 15:05:08 +00:00
lllucius
f2bf4e7847 Addressing effect dialog suggestions from -quality and -devel
1)  Play now respects play region
    If there is a play region it will always play that no matter
    what the selection is and it will always "rewind" to the start
    of the region even if stopped in the middle.

2)  i18n-hints added to the labels and tooltips to let translators
    know that the access keys should be the same for the different
    labels/tips for a specific button.

3)  (ALT+...) removed from the Mac tooltips

4)  You now get a message if nothing is selected and Apply is pressed
    I thought this was simply the best way...nothing fancy.
2014-12-16 05:49:51 +00:00
lllucius@gmail.com
fbae2c5b28 Better initial size for AUs that are smaller than minimum dialog size. 2014-12-16 05:40:04 +00:00