1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 01:29:43 +02:00

3225 Commits

Author SHA1 Message Date
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
martynshaw99
3d9d6836ce Gale's changes to get us nearer to 2.1 release, including updates for VS 2013. 2015-02-03 00:17:27 +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
stevethefiddle@gmail.com
2e562600af Fix for bug 849. Validates user selected frequency in Spectral Edit plugins to prevent Nyquist applying invalid frequency (greater than Nyquist frequency) parameters to filters.
This does not address the broader question of how Spectral Selection should handle multiple sample rates.
2015-02-02 01:46:34 +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
lllucius@gmail.com
408dcaca66 Fix Nyquist Workbench
This is a very low impact change, so should not affect the
release.
2015-01-27 03:44:06 +00:00
v.audacity@gmail.com
401c26f132 Remove WDM-KS again for 2.1 release. 2015-01-24 23:07:29 +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
stevethefiddle@gmail.com
e5d2ef6ecd Consistency - change "rms" to "RMS". 2015-01-17 15:29:11 +00:00
stevethefiddle@gmail.com
d89ca6e457 Fix typo in error message. 2015-01-17 13:04:48 +00:00
lllucius@gmail.com
38c49d55a8 Armenian added to Mac project...bug #823 2015-01-14 16:10:36 +00:00
windinthew@gmail.com
f2371b634b Updated by Koncz László 2015-01-12 02:14:15 +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
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
000f353f57 Fix for problem caused by r5527, circa Sep. 2006
The problem was that if the user chose to quit Audacity when
the auto recovery dialog was displayed, Audacity would crash
because the command line was still parsed and any filenames
listed on the command line would still be opened.  But, that
would failed because "quit" processing had already been done.

Anyway, a simple one line fix.
2015-01-05 06:57:16 +00:00
lllucius@gmail.com
baee4cbb24 Do not pass garbage to first Audacity when starting another without args. 2015-01-05 01:03:17 +00:00
lllucius
9ead6d4221 Make the IPC classes wx3 compatible 2015-01-04 21:18:37 +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
22d3719db5 Enabling --with-wx-version parameter to facilitate wx3 testing 2015-01-04 20:02:52 +00:00
lllucius
b9647586af Committing patch from bug #794 2015-01-04 19:44:54 +00:00
lllucius
1201c5abe3 Applying patch from bug #795 2015-01-04 19:41:08 +00:00
lllucius
8bef14df36 Addresses meter accessibility mentioned in bug #33
And also corrects the missing focus rectangle display on
the toolbar buttons on Linux.
2015-01-04 09:24:26 +00:00