1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 17:11:12 +02:00
Commit Graph

2226 Commits

Author SHA1 Message Date
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
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
lllucius@gmail.com
3a23757e2e All the menu to be opened from the keyboard on the Mac as well. 2015-01-04 02:25:56 +00:00
lllucius@gmail.com
e33723d0e4 Figures Linux uses a differnet keycode for the context menu 2015-01-04 01:05:23 +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
lllucius
3a098714d9 Persist looped button across toolbar resets...
...when started from the keyboard.
2015-01-03 11:27:24 +00:00
lllucius
7aa81bc34d Attempt to correct the size of the Set Rate dialog 2015-01-03 10:36:42 +00:00
lllucius
c9cde48f21 Open popup menu under icon when using context menu key 2015-01-03 09:29:42 +00:00
lllucius@gmail.com
c3c458e3fa Compact meters under GTK have same antialiasing issue as OSX 2015-01-03 07:00:39 +00:00
lllucius@gmail.com
82d9b91184 Prepping for next release...regenerating build files 2015-01-03 05:57:16 +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
0c00a5f463 SetCursor() is only needed once
Thanks to a discussion with Steve, I went back to the docs
and found that SetCursor() is persistent.  So it doesn't
have to be done in a mouse event handler.  The constructor
is perfectly sufficient.
2015-01-02 14:58:22 +00:00
lllucius
15ac9905ad Do not allow resizer to accept focus. 2015-01-02 14:39:56 +00:00
windinthew@gmail.com
42d1c05e5b 2014 copyright > 2015. 2015-01-02 12:30:35 +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
bec5866653 Persist meter state across toolbar resets and fix clipping indicator
This will fix the clipping indicator turning on after a toolbar reset
and, as a bonus, the timers now only run if playing, capturing, or
monitoring.  Will (slightly) reduce the CPU consumption.
2015-01-01 23:29:08 +00:00
lllucius
2e6e110a34 Allow speed slider to persist across toolbar reset 2015-01-01 20:27:29 +00:00
lllucius
6459324b4c Allow selected tool to persist across toolbar reset 2015-01-01 20:05:06 +00:00
lllucius
622b609f91 Allow button state to persist across toolbar reset 2015-01-01 11:46:52 +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
lllucius
f5f3c5135f Make sure display refreshes after audio I/O stops
What looked simple in r13811 was not so simple apparently.
(We REALLY need a gAudioIO->IsCapturing())
2014-12-29 22:28:32 +00:00
lllucius
204aa37716 Only push state if recording, not when monitoring 2014-12-29 20:26:07 +00:00
lllucius
055b40c3f2 Fix wx3 build 2014-12-29 03:46:57 +00:00
lllucius
a30f8398aa Let's try narrower icons...
...to see if it removes enough "gray" space on the left
of the vertical meter to be bareable.
2014-12-28 23:48:01 +00:00
lllucius
e47bb71b08 Re-adds the ability to reset peaks while recording
It also disables the "start/stop monitoring" menu item 
while recording.  Not really necessary, but...
2014-12-28 21:06:58 +00:00
lllucius
4126acac6b Fixes missing recent peak value
And re-introduces double buffering on Windows.
2014-12-28 20:49:37 +00:00
lllucius
d1af695919 Fix non-UNICODE build 2014-12-28 20:02:00 +00:00
lllucius
2c90642806 Use existing meter toolbar values when upgrading to 2.1.0+ 2014-12-28 19:19:29 +00:00
lllucius
51d69fc34b Partial fix for bug #807
The value in audacity.cfg is now prepended to the PATH
variable instead of appending it, so that directory
should be searched first.

It doesn't do fallback searches if the first attempt
fails.
2014-12-28 10:12:43 +00:00
lllucius
c305724561 Fix for bug #806
This was my bad.  I'd reset the number of capture channels
in AudioIO when the stream was stopped.  Unfortunately, two
methods depended on it being valid AFTER the stream had
stopped.

Those methods, TrackPanel::OnTimer and AudacityProjecT::OnCloseWindow,
were using it as an indicator if recording had been taking place
before they stopped the stream.  They then flushed the tracks, pushed
the state onto the undo stack and did some other post-recording tasks.

Turns out that the tracks are already flushed as part of the normal
AudioIO::StopStream processing, so that was redundant.

And, instead of duplicating the process, I've relocated most of each
methods processing to AudacityProject::OnAudioIOStopRecording.
2014-12-28 08:53:57 +00:00
lllucius
97251986ed Set preferences dialog title based on meter type 2014-12-28 06:25:16 +00:00
lllucius
a3786dd78a Both input meters should track monitoring/capture status
So you can switch between the combined and independent 
recording meters at will.
2014-12-28 06:15:09 +00:00
lllucius
6a3ef5565c Independent meters with combined menu/icon
Many other changes including:

1)  Independent preferences
2)  Automatic layout separated from vertical/horizontal orientation choices 
3)  Combined menu and icon which saves space
4)  Click to start monitoring label no longer covers peak hold line completely
5)  Click to start monitoring label now adjusts label based on available width
6)  Click to start monitoring label now appears on vertical meter (not sure about this one...)
7)  Reduced width of vertical meter by moving icon to left of meters
8)  Includes a compact vertical meter now
9)  Clipping indicator is easier to see
10) All 1-off drawing issues resolved (99.9% sure...I challenge you to find some ;-))
11) Bevels around meters are no longer overlaid by meter updates
12) "Old" menu handling code removed
13) Though not perfect since some non-English characters are taller/wider than the meters, non-English text is now handled better
14) Clicking play meter resets indicators as appropriate
15) Indicators on meters now stick around until the meter is clicked
16) Ugly flashing while resizing is now gone
17) There should be NO magic numbers in the code.  Every +1 or -2 is explained in comments...
18) Size of L/R labels are recalculated now when preferences are updated (to pull in locale changes)
2014-12-28 03:18:00 +00:00