1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-10 06:01:09 +02:00

2020 Commits

Author SHA1 Message Date
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
Leland Lucius
2457579091 Bug 765 - Delays using Edit commands and Draw Tool in long projects
A 4hr track used to take about 20s to cut a few samples. This is now significantly improved, to around 3s. Leland did this by

(a) moving the size calculation to when we examine the undo history, so it isn't slowing down the edits.
(b) in size calculation, using sizes that are cached rather than going to disk to find the sizes.
(c) writing the autosave file which is to an FFIle to a string first, i.e. using XMLStringWriter as a buffer for XMLFileWriter.

Step (c) may also make autosave marginally safer, as the risk of a partially updated autosave file is reduced.
2015-04-07 12:20:50 +01:00
James Crook
cedc6975e8 Fix missing parameters in chains for ChangeSpeed effect 2015-04-07 12:20:08 +01:00
James Crook
16e9123ec1 Bug902 - WX3: Experimental wx3 version of Audacity potentially in Linux distros, and not obvious to users.
Added a message dialog early on in Inits.  It links to the wx3 tagged bugs in bugzilla.
Also fixed an uninitialised warning.
2015-04-07 12:19:09 +01:00
Paul Licameli
bc50440210 Bug881 - Status bar messages swapped 2015-04-07 12:18:40 +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
Paul Licameli
e9537fccb8 Bug897 - Time ruler is not redrawn for zoom or horizontal scroll when play region is locked
Added a Refresh() to fix this.
2015-04-05 22:27:35 +01:00
lllucius
5d3e9ade95 Return to using private (l)lrint(f) inline functions. 2015-03-16 20:34:05 +00:00
v.audacity
58bca2e8a9 fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=883 2015-03-03 01:48:07 +00:00
stevethefiddle@gmail.com
d53c1bf299 Disable experimental seek. 2015-02-24 23:50:20 +00:00
v.audacity@gmail.com
7e96305991 Get rid of an unused var to avoid compiler warning. 2015-02-19 11:17:40 +00:00
v.audacity
5f1ce03e32 PRL's fix for bug 827 2015-02-19 11:08:58 +00:00
lllucius@gmail.com
ea074f889b Regenerate build files on Debian Wheezy
This will fix building the minsrc tarball on Debian Wheezy
2015-02-17 16:19:57 +00:00
lllucius@gmail.com
5d1dc4ce6a Fix part 2 of bug #857
Gale found that the previous fix for bug #857 didn't
completely address all crashes.

In this case, the sequence of events:

1)  Dynamic module is added to list of module using its name, "VST Effects"
2)  Language is set (during init) to one that has "VST Effects" translated
3)  Language is changed to something else via preferences, which changes
    translation of "VST Effects" to something else.
4)  During termination, the module is deleted, but since the language
    has now changed due to translation, it isn't deleted from the list
    of modules
5)  An attempt is made to delete the next module, which happens to be
    the same one becuase it was never removed from the list.
6)  Boom...
2015-02-14 17:14:23 +00:00
v.audacity@gmail.com
e6dfecc2d0 Turn off IS_ALPHA per release agenda step 6.1. 2015-02-13 02:28:26 +00:00
lllucius@gmail.com
e73b7e70a3 Fix for bug #857
Even though this is only a P2, I felt it would be
quite bothersome for the users and might cause some
confusion.

The problem was the the wxLocale was being deleted
before all usage of it was complete.  The fix was
to explicitly delete the plugin and module managers.
2015-02-12 02:30:30 +00:00
lllucius
c88c1738bb Fix for bug #854 2015-02-08 10:22:46 +00:00
lllucius@gmail.com
de0ec7e5e5 Add missing return statements.
Sorry about that...extracted the change from a "working tree" and missed 'em.
2015-02-03 01:07:50 +00:00
lllucius@gmail.com
5826525970 Fix for P1 bug #850
This ensures that the settings file gets flushed after the presets
are removed so it won't happen during termination.
2015-02-02 15:40:15 +00: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
lllucius@gmail.com
5d595b745c Workaround for the "P1" assignment on bug #736 2015-01-29 07:02:02 +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
stevethefiddle@gmail.com
4a19fa798c Disable Experimental Scrubbing for 2.1 release. 2015-01-22 02:25:19 +00:00
lllucius@gmail.com
661eb445d1 Ensure socket name supports either option described in bug #840
Doing now so we don't get into supporting another legacy name.
2015-01-21 17:01:06 +00:00
lllucius
361d3add9b Revert r13868 and fix access violation on Windows
This puts the single instance checker back to pre-13868
behavior, so we're back to being able to open multiple
instance if the temp directory is different in portable
settings.

The access violation has apparently been happening for
quite a while, just hidden because it happened when
additional Audacity instances were executed and the DDE
command was sent to the first instance.  After sending
the command, the connection was disconnected, but the
object had already been deleted by the command execution
so a first-chance exception was triggered.
2015-01-21 07:52:15 +00:00
lllucius
09c213feed Applying Paul's fix for bug #818
While I didn't see the crash in action, the patch definitely
fixes the possibility of one.
2015-01-20 06:34:55 +00:00
lllucius@gmail.com
45c5bdfa45 Fix Linux build 2015-01-19 18:04:43 +00:00
lllucius
3d420e019c Applied accessibility patch from David that I missed.
From David's message:

   "solution to the problem of getting jaws to read the updated
   name after choosing start/stop monitoring on the menu"
2015-01-19 17:47:39 +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
a286b0e5a4 Don't need the separator on the Mac. 2015-01-12 01:07:11 +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
dbe7e0280c Well r13875 was pretty dumb...try again 2015-01-10 20:41:49 +00:00
lllucius
e33cf84e35 Reduce accessibility chattiness in meters 2015-01-10 20:33:57 +00:00
lllucius
57d18d7bcb Further correction for bug #795 2015-01-10 18:16:55 +00:00
lllucius@gmail.com
d03da2deb4 This should be the final fix for bug #202
Command line parsing has been revised and used
for the primary Audacity command line as well as
any secondary Audacity executions.

This way if multiple filenames are included on
the secondary executions, then we now pass ALL
of the filenames instead of just the first one.
2015-01-10 10:25:49 +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
d87c6942cd A couple more accessibility changes 2015-01-09 16:07:24 +00:00
lllucius
a6ace4a606 Ignore the key up events after showing the context menu (on Windows only) 2015-01-09 15:27:58 +00:00
lllucius
cdde320f0d Fix startup hangs when opening multiple files on Linux and Mac.
Seem there's either a critter in the wx2812 socket IPC code (the
socket processing was rewritten for the wx3 series) that could
cause Audacity to hang during startup if more than 1 file was
opened at the same time.  It was hit or miss, but more hit than
miss and was likely to occur when opening multiple files in a
file manager.

This fix was to stop using the wx2 IPC code and craft our own
basic startup messaging.
2015-01-09 07:47:28 +00:00
lllucius
945e68ba89 Should fix the single instance detection on OSX
The problem was that different temp directories can
be specified when using Portable Settings.  This caused
the single instance checker to look for it's lock file
in different locations so it was unable to detect that
another instance was running.

This changes the directory for the lock file to be the
user's home directory (which is the default for the checker
anyway).  This allow the user to still specify different
temp directories in the Portable Settings and ensure's 
that only one instance (per user) ever runs.

It now checks the single instance before initializing
preferences since preferences are modified during initialization
which could interere with an already running instance.

In addition, the Mac now uses the DDE IPC startup to 
ensure all files are opened by the single Audacity instance.
Normally this is not needed since we also support the OSX
mechanism for opening by an existing process.  But, that
only works if the exact same Audacity.app is used.  There
are instances when this is not always the case.

I also ran across a problem with language initialization.

Since preferences were initialized before the locale was set,
dialogs would be shown in English.  I've made a change that sets
the language to the system language until the preferences are
loaded and then resets it to the user selected language.
2015-01-07 19:39:44 +00:00
lllucius
70285448c9 Fix for non-responsive timeline and meters after a timer record
The problem is that the fix for bug #334 is a bit over zealous and
blocks ALL application level events instead of just the keyboard events.
This was blocking the new AUDIOIO event from being handled.

I didn't want to monkey with the #334 solution at this time, so the
simple fix was to ensure the progress dialog was going (thus, enabling
appilcation events) was destroyed before attempting to stop the audio
stream.
2015-01-07 00:48:14 +00:00
stevethefiddle@gmail.com
b09c923e92 Fix crash reported by Bill
Steps to reproduce: 
1) Launch Audacity
2) File > New Project
3) Close second (new) project
4) Click Record button - Crash
2015-01-06 18:24:00 +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
f60afbb8da Fix disk space checking to prevent error message
The error message only happens in debug builds, but the cause of
the message still happens in release builds.  Basically, the temporary
project directory may not yet be created if the person is only monitoring.
2015-01-06 16:16:01 +00:00
lllucius
5e46430d80 Update keyboard and a11y usage based on DB's suggestions 2015-01-05 16:36:17 +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
stevethefiddle@gmail.com
c8cabab88b Better fix for bug 802. 2015-01-05 11:07:55 +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