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

695 Commits

Author SHA1 Message Date
james.k.crook
207b3c6941 Reverted changes to wxPathOnly as it requires a more comprehensive change throughout Audacity. Doing half of it will break projects in Linux with '\' in their filename. (comments in Bug 120, comment #3.) 2011-02-13 23:11:51 +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
271c4b0112 Consistency: wxFileNameFromPath replaced by GetFullName() [related to fixes to bug 120]. 2011-02-13 22:44:21 +00:00
james.k.crook
aca8734795 Possible-Fix: Linux path separator issue, believed caused by wxGetPathOnly(). Only tested under Windows. (Bug 120). 2011-02-13 22:25:18 +00:00
mchinen
c4609d6c58 add DeviceManager.cpp/h to mac project 2011-02-13 19:18:14 +00:00
mchinen
7c363361bb add DeviceManager to windows solution 2011-02-13 19:08:47 +00:00
mchinen
b6ee2bf9f5 add missing files from last commit 2011-02-13 18:59:02 +00:00
mchinen
fe570ac355 add singleton device manager to refactor and minimize portaudio change bugs. Adds rescan functionality which will address some bugs but not added to menu yet. will add files to mac and windows build soon 2011-02-13 18:57:43 +00:00
mchinen
f8dbfc867b bug 11 - fix issue where input sources wouldn't be shown under some conditions under win xp.
note that this change may require a solution clean and rebuild because it is in libsrc.
Also affects bug 29, as before portmixer was fetching the wrong mixer when many devices were available, but this does not address all issues.
2011-02-13 14:33:20 +00:00
james.k.crook
fd9ac6bf09 Fix: slowdown with many labels caused by LyricsWindow. (Bug 144) 2011-02-12 18:33:49 +00:00
mchinen
8c805c03dd DeviceToolBar.cpp: better redraw on change host.
Also fixes an issue where the combo boxes on other project's device toolbars wouldn't resize when the active projects device toolbar changed the host.
2011-02-12 18:25:06 +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
31c10bd86a Restore safety files (.bak) sooner. The aim is to be back in a good state before we show the error dialog. 2011-02-12 14:37:00 +00:00
james.k.crook
6bdfb13b45 Fix: "\" in file name gives disk full error. Now we complain about a non-existent directory instead. (Bug 120). 2011-02-12 14:25:51 +00:00
james.k.crook
91b1124a39 Completion of fix for bug 229, so that we check against changes in progress rather than the master list. 2011-02-12 12:40:49 +00:00
james.k.crook
01c8c239d0 Fix: Same hot-key configurable to multiple commands. (Bug 229) 2011-02-12 12:13:32 +00:00
windinthew
0ab9f7cd41 Updated software translation from Thomas de Rocker 2011-02-11 01:17:06 +00:00
v.audacity
ca35e29a0f Remove unused var. 2011-02-11 00:33:55 +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
windinthew
4dd492568c Updated software translation from Thomas de Rocker 2011-02-09 20:47:04 +00:00
richardash1981
5304bbf19a Warning supression patch from Benjamin Drung 2011-02-07 20:28:20 +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
22b64149de DeviceToolBar.cpp: Make all projects' device toolbar reflect the changes when made in another project. 2011-02-07 00:41:51 +00:00
mchinen
a9437f795b DeviceToolBar.cpp: Better event handling -
Make OnChoice only do the action associated with the combo box being interacted with.
Also refactor associated input and output device code into new function.
2011-02-06 23:34:32 +00:00
mchinen
046593405f bug 11 followup: DeviceToolBar - for Win DirectSound and MME don't allow input source lookup for the mapper devices.
This is kind of a hack that relies upon portaudio to make the first index the mapper for these apis.  I verified this for MME in portaudio src, but could not for DirectSound, so this may need to be reverted.
Should address gale's issues on win xp.
2011-02-05 19:07:02 +00:00
windinthew
443c678e78 Updated software translation from Atsushi YOSHIDA. 2011-02-05 16:43:53 +00:00
mchinen
fff977b942 ToolBar.cpp: remove excessive drawing on reset (as well as other resizing/positioning functions.)
Was causing an issue with the DeviceToolBar (discussed in bug 11,) but this change will speed up redraw of other toolbars as well.
2011-02-05 14:16:44 +00:00
mchinen
9e5cb8f6af DeviceToolbar.cpp: better fit for resize and fix overspilling of channels combo when toolbar is very small. 2011-02-05 13:37:31 +00:00
mchinen
500b3a32df DeviceToolBar.cpp: fix possible index out of bounds case 2011-02-05 10:04:29 +00:00
v.audacity
7a507aca95 Bugs 255 and 148 (P3)
Commented out some code. Since Roger's fix is to not use r, no reason to declare or calculate it, or link.
2011-02-04 22:02:10 +00:00
v.audacity
205a384e93 Bug 255 (P3) - Spurious drawing in wave tracks/focus border when manipulating gain sliders
Bug 148 (P3) - Label keystrokes painted at playback position 

Roger's patch for Bug 255 is to Refresh the whole TrackPanel. He says this should also fix Bug 148.

We'll see if it's too much of a performance hit.
2011-02-04 21:52:33 +00:00
james.k.crook
fa8d42e664 Restructure to a switch statement (John Clark) 2011-02-03 12:35:31 +00:00
mchinen
df6e56a57e DirManager.cpp: refactor near identical methods Move/CopyToNewProjectDirectory to use the same code 2011-02-02 20:42:43 +00:00
mchinen
3abd32a98b DirManager.cpp: remove old cruft comments and return an false on error 2011-02-02 20:11:42 +00:00
v.audacity
63f391ba46 Minor changes to comments. 2011-02-02 00:43:00 +00:00
v.audacity
39adb7b552 Fix bug in WarningDialog where dismissing via the close box made "don't show again" checkbox always stored as true, because EndModal() was called not via WarningDialog::OnOK() and the return value was 5101. So the prefs file had 5101, which is later read as "true", regardless of the actual setting of the checkbox.
Various other cleanup.
2011-02-01 22:30:10 +00:00
mchinen
dbf7942e1d MixerToolBar.cpp: fix input slider enabled status to match AudioIO::mInputMixerWorks 2011-01-31 13:38:40 +00:00
v.audacity
d2d876d9a5 Bug 258 (P2) - Mixer Board: max peak and clipping lines removed
Fixed bug in resetting mPrevT1. That caused remaining issue noted in Bug 258 comments 2 and 3.

Moved call to UpdateMeters from TrackPanel::OnTimer() to audacityAudioCallback, where it calls gAudioIO->mOutputMeter->UpdateDisplay(), so the updates are synchronized with Meter Toolbar updates.

Removed unnecessary call to MixerBoard::UpdateMeters() in AudacityProject::UpdateMixerBoard().

Various cleanup.
2011-01-31 01:49:01 +00:00
mchinen
7d6c347140 bug 11 followup: fix visual glitch when changing hosts 2011-01-30 23:40:37 +00:00
mchinen
3f4b5f7779 DeviceToolbar.cpp: use OnChoice instead of obfuscated ProcessCommand for combobox modal dialog 2011-01-30 23:30:49 +00:00
v.audacity
0254283598 Bug 11 (P2) - Input sources cannot be selected in Mixer Toolbar.
Trying to fix problem reported by Gale on audacity-devel, "Error building r10887 on Ubuntu".
2011-01-30 20:30:17 +00:00
richardash1981
a756965a57 Some little tweaks to the tarball script. Should really use svnversion command for some of this, would be more elegant 2011-01-30 16:37:55 +00:00
mchinen
ecbff8fee2 bug 172 followup: display correct semitones and restore non-inverted tempo values for Sliding Time Effect 2011-01-29 22:32:39 +00:00
mchinen
84c6013a17 fix build on mac 2011-01-29 22:08:22 +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
mchinen
ed20efb357 DeviceToolBar fix typo based bug in last commit 2011-01-29 17:36:46 +00:00
mchinen
efb6f2e584 fix initial input channel number combo population on fresh start without audacity.cfg (could not replicate so did not test) 2011-01-29 17:31:19 +00:00
mchinen
4511331f88 bug 11 followup: let DeviceToolBar be resize smaller than intial width 2011-01-29 16:06:40 +00:00
mchinen
90be578616 bug 11 followup: remove rec channels label from DeviceToolBar and add input channels to within combobox text 2011-01-29 15:15:06 +00:00
mchinen
df27456f83 make DeviceToolBar's toolbar grid height same (small) for linux as mac/win (was large/double size) 2011-01-29 15:05:33 +00:00