1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-21 14:50:06 +02:00

587 Commits

Author SHA1 Message Date
james.k.crook@gmail.com
d1afc6e8c5 Hotkeys for effects. (uses numbers for effect names) 2012-03-29 20:31:49 +00:00
james.k.crook@gmail.com
b0446f3216 Update pertaining to IS_BETA (no such thing any more) and I'm back in the credits now that we don't claim to be stable. Gale also gets '- quality manager' (in lower case like other in-line role descriptions) - as agreed by techleaders. 2012-03-28 21:04:07 +00:00
james.k.crook@gmail.com
a5c5af0d5a Fix: Cursor now stays where it is if z pressed and no zero crossings or audio nearby and in empty space. 2012-03-25 16:35:04 +00:00
james.k.crook@gmail.com
2f0323c8fd Fix Bug 183: Zero crossing detection previously could/would select samples that were in the spaces between audio. This led to selection of audio before time zero. It also led to poor behaviour where clips did not end at zero. Now spaces between audio are strongly discouraged (treated as samples of value 2.0) for zero detection. 2012-03-25 16:19:08 +00:00
james.k.crook@gmail.com
69476e785c Fixed more internationalisation hints. 2012-03-20 15:36:02 +00:00
james.k.crook@gmail.com
db38d6049d Fixed internationalisation hints. 2012-03-19 17:52:57 +00:00
james.k.crook@gmail.com
e770a6766b If logger does not exist, don't try to delete it. 2012-02-09 12:54:24 +00:00
v.audacity
5f5b9778de Fixes per Vigilant Sentry (http://www.vigilantsw.com/)
* Fix memory leaks.

* Add comments about initializations and checking for successful results.

* Add checks for NULL deref.

* Consistency in "TODO" vs "TO-DO" comments!
2012-02-08 05:09:14 +00:00
windinthew
73e4ed2cc1 Give "Audio Device Info" unique access key so that it doesn't block "A" opening "About Audacity". 2011-12-17 00:20:42 +00:00
v.audacity
5c454c5a74 Comment out unused AudacityProject::OnSplitLabelsToTracks(). 2011-11-30 23:56:34 +00:00
v.audacity
1bd1e7a089 Remove unused var newTracks.
Assert possible null pointer deref of label, per Vigilant Sentry analysis.
2011-11-29 06:42:44 +00:00
v.audacity
f1fee888c2 Fix null pointer dereferences caught by Vigilant Sentry. Ask some questions about some code. 2011-11-24 23:12:52 +00:00
v.audacity
458152070e Fix some problems with asserts in 11308. Further wording corrections. 2011-11-18 03:47:43 +00:00
v.audacity
59db8d4ad4 See http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c31 and http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c32. 2011-11-16 05:59:48 +00:00
mchinen
8105988e25 Patch by Chris Wilson to fix memory leak in NearestZeroCrossing(). I found another one in the same function and modified this patch to fix that as well. 2011-07-07 19:20:23 +00:00
clayton.otey
71dedc3d35 Revert r11214 (sbsms timescale effect update) & r11215 (mixed-radix-fft narrow/broaden spectrum menu items) to honor the feature freeze. 2011-07-06 09:49:59 +00:00
clayton.otey
df9865f26a Added an sse enabled mixed-radix-fft implementation and a menu/view/{narrow,broaden} spectrum item which adjusts the spectrogram window size 2011-07-02 18:42:38 +00:00
windinthew
0998462eb2 Fix conflicting access keys. 2011-04-29 05:46:39 +00:00
james.k.crook@gmail.com
dbca41aa89 Rearrangements to Edit Menu. (as per Proposal Menu Rearrangements) 2011-04-27 22:05:02 +00:00
james.k.crook@gmail.com
98fec31a3e Added missing header declarations for AudacityProjectCommandFunctor. 2011-04-24 16:02:10 +00:00
lllucius
4ef4adb6eb Fix build when wxWidgets is built to use STL as it is on openSUSE. 2011-04-17 03:42:35 +00:00
mchinen
91d8f132a6 Bug 330 (P2) - Fix an issue where multiple projects would cause the warning dialogs to pop up above the wrong project.
I refactored the code into AudacityApp with a new timer.  This is provisional pending discussion - if it is decided that it should go somewhere else I will move it.
2011-03-29 23:39:00 +00:00
v.audacity
0bd3f11f41 Make "FIXME" comments be "FIX-ME" for consistency with themselves and "ANSWER-ME" comments, in case somebody ever wants to search for these things... ;-) 2011-03-26 01:11:51 +00:00
mchinen
dc12d8a8f4 bug 26 followup - warn of missing alias on variety of instances (export/import/effect/mix,) in addition to first time the read fails.\nIn addition make sure there is only one warning on the screen at a time, bringing the old one to the foreground (although for things like export/effect there will be a progress bar in front of it, the missing files dialog will be above the project window when it finishes) 2011-03-23 01:01:17 +00:00
mchinen
4a762fc936 bug 29/11 - add rescan capability for devices.
This is a workaround for the portaudio issue where changing the default device in xp will corrupt the portaudio device indecies.
This combined with the portmixer fix (earlier today) should address bug 29.
2011-02-13 23:00:43 +00:00
james.k.crook
fd9ac6bf09 Fix: slowdown with many labels caused by LyricsWindow. (Bug 144) 2011-02-12 18:33:49 +00:00
james.k.crook
0d6197b2a8 Fix: Regression - Region save can save a cursor position again, now. (Bug 273) 2011-02-12 17:13:07 +00:00
james.k.crook
73b7d4dba3 Patch to fix menu hot-key conflicts on mac, fixing bug 88, (adapted from patch by Gale) 2011-02-10 21:16:14 +00:00
richardash1981
2a7c7de30d Commit a warnings removal patch from Benjamin Drung to correct a string of minor misdemeanors. 2011-02-07 20:24:04 +00:00
mchinen
47ac55b29c bug 11 followup: Add dialogs and shortcuts for each combo of device toolbar 2011-01-29 18:46:06 +00:00
lllucius@gmail.com
7d889359c5 Use currently selected timeformat (in SelectionBar) as default for Label dialog 2011-01-25 04:50:02 +00:00
mchinen
4b60e54a4c MixerToolBar: remove input source selection as it is replaced by aggregated device toolbar. 2011-01-09 20:26:45 +00:00
windinthew
a1b01c4156 Move new Transport Toolbar item to bottom of View > Toolbars menu to respect alphabetical sort 2010-11-16 09:18:55 +00:00
v.audacity
93485f5c50 ControlToolBar now appears in GUI as "Transport Toolbar" instead of "Control Toolbar", to better relate it to the Transport menu. 2010-11-16 01:18:39 +00:00
v.audacity
57ba7640ab Move an old comment past later additions, to the code it actually refers to.
Ask a question about the mSelectAllOnNone addition.
2010-10-22 21:30:38 +00:00
v.audacity
e2261d1473 // Note that History window should be available either for UndoAvailableFlag or RedoAvailableFlag,
// but we can't make the AddItem flags and mask have both, because they'd both have to be true for the 
   // command to be enabled. 
   //    If user has Undone the entire stack, RedoAvailableFlag is on but UndoAvailableFlag is off.
   //    If user has done things but not Undone anything, RedoAvailableFlag is off but UndoAvailableFlag is on.
   // So in either of those cases, (AudioIONotBusyFlag | UndoAvailableFlag | RedoAvailableFlag) mask 
   // would fail. 
   // The only way to fix this in the current architecture is to hack in special cases for RedoAvailableFlag
   // in AudacityProject::UpdateMenus() (ugly) and CommandManager::HandleCommandEntry() (*really* ugly -- 
   // shouldn't know about particular command names and flags).

   // So for now, enable the command regardless of stack. It will just show empty (except for Created Project) sometimes. 

   // FOR REDESIGN, clearly there are some limitations with the flags/mask bitmaps.
2010-10-17 23:00:01 +00:00
v.audacity
d562770d70 (bug 29, P3: Input and/or output sliders operate incorrectly for any device when an external device is connected.)
If the Meter Toolbar was monitoring input, PrefsDialog can be opened, but then PrefsDialog::OnOK() needs to StopStream() or AudioIO::HandleDeviceChange() will no-op. We could instead disable the Preferences command while monitoring, i.e., set AudioIONotBusyFlag/AudioIOBusyFlag according to monitoring, as well as gAudioIO->IsAudioTokenActive(). Instead allow it because unlike recording, for example, monitoring is not clearly something that should prohibit opening prefs. 

This may have been some of the occasions of bug 29, where user changed device while monitoring, but the AudioIO::HandleDeviceChange() code did not actually change the device, so it look like the user had specificied the motherboard/sound card default device, but Audacity was still using the USB device.

      // TO-DO: We *could* be smarter in this method and call HandleDeviceChange()  
      // only when the device choices actually changed. True of lots of prefs!
      // As is, we always stop monitoring and handle the device change.

In AudacityProject::GetUpdateFlags(), don't need to check (GetAudioIOToken() == 0) alternative because gAudioIO->IsAudioTokenActive() checks that it's greater than zero.

In AudioIO.cpp, cleaned up some logic and encapsulation of boolean methods.
2010-10-09 00:50:52 +00:00
rbdannenberg
08b98dce53 PlayAtSpeed works for MIDI. Removed prefs for selecting MIDI input device (unless EXPERIMENTAL_MIDI_IN is on -- but there is no MIDI recording implemented at all) 2010-10-05 18:29:57 +00:00
v.audacity
339303e7ec (Bug 229, P3: It is possible to assign the same keyboard shortcut to 2 commands)
Ed Musgrove's patch to fix cases where the bug currently occurs. 

This does not completely fix the bug, because users can still set modifier keys in the wrong order so they would be two separate entries in CommandManager::mCommandKeyHash, but KeyEventToKeyString() will put them in the expected order, so the version in the expected order will always be the one CommandManager::HandleKey() uses.
2010-10-01 00:25:53 +00:00
rbdannenberg
a1f0e5ed5b Extensive changes to improve NoteTrack display and (some) editing, NoteTrack playback via MIDI, and Midi-to-Audio alignment. 2010-09-18 21:02:36 +00:00
v.audacity
a07fe36456 Change "Sync-Lock Tracks" button image from chain-link to clock.
EXPERIMENTAL_LINKING -> EXPERIMENTAL_SYNC_LOCK

Restore some "border" lines in TrackInfo.


Get rid of unused DEFINE_COLOUR( clrTrackInfoSyncLockSel...).

Clean out some undocumented commented-out code. Add/remove some comments.
2010-09-14 05:52:01 +00:00
martynshaw99
1d6e1593ee Eliminate msClipLen since it leads to length errors in WaveTrack and WaveClip. 2010-09-12 22:31:58 +00:00
martynshaw99
ed187aa185 Select the 'correct' part when pasting in HandlePasteNothingSelected - working up to the more complicated changes required on the same lines. 2010-09-07 23:10:29 +00:00
martynshaw99
50a61e1570 Reverting previous change, since it was using mViewInfo.sel0/1 at the time of pasting, not of copying. 2010-09-07 22:03:24 +00:00
martynshaw99
82275c946e A step in removing msClipLen and all it's problems.
Highlight the pasted clip as well as we can.
2010-09-07 00:00:38 +00:00
v.audacity
961d8cdeca Review calls to AudacityProject::ModifyState() and TrackPanel::MakeParentModifyState() to possibly add param to make AudacityProject::ModifyState() optionally not call AutoSave(). There is only one place (TrackPanel::OnSetDisplay()) where autosave is definitely not necessary, so don't change it now.
Also made a few places (e.g., AudacityProject::OnSetLeftSelection()) call AudacityProject::ModifyState() only if the selection actually changed.
2010-08-30 03:24:40 +00:00
v.audacity
369ebe40a4 minor cleanup in AudacityProject::OnPlayStopSelect 2010-08-29 22:52:29 +00:00
v.audacity
ad09727b7f Fix some old typos, indentations.
Clarify some comments. 

Remove some DirManager methods that were declared but not defined.
2010-08-25 23:24:02 +00:00
v.audacity
17832cf2f5 "Show Log" better at bottom of Help menu. 2010-08-24 22:25:50 +00:00
v.audacity
c1848c1359 Sync-Lock: Add TrackPanel refresh to AudacityProject::OnSyncLock() so the icon next to minimize button gets refreshed. 2010-08-24 21:04:21 +00:00