1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-16 08:37:42 +02:00

78 Commits

Author SHA1 Message Date
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
v.audacity
721b7b3399 Apply patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=465. 2012-01-25 02:21:08 +00:00
richardash1981
16d4e6c54d Commit patch from Leyland fixing bug 462 - crashes with VST plugins due to floating point exceptions. 2011-12-17 18:37:09 +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
a0c1ac4cd3 Use the initial default of stereo instead of mono for recording channels 2011-06-01 13:09:00 +00:00
james.k.crook@gmail.com
6cc4b04784 Bug:382 Resetting control toolbar whilst audio was playing led to attempts by gAudio to update a non-existent window and crash on OSX. We now stop the current monitoring on a toolbar reset. 2011-05-03 12:00:45 +00:00
james.k.crook@gmail.com
f2bf104922 Fixed various casting to (WaveTrack*) without a test for GetKind()==Track::Wave. Was causing crash in (at least) the Contrast.cpp analyze function, when a label was selected but not audio. Also fixed log-of-zero problem in Contrast.cpp when sampling silence. 2011-04-23 18:53:48 +00:00
mchinen
35e371878d Bug 350 (P2) - Restore focus to TrackPanel when play/rec is hit and the focus is in the device toolbar. 2011-04-13 00:58:15 +00:00
mchinen
021269ca26 Bug 345 (P2) - Make the device toolbar visible for users coming from a previous version that had it off. Also fix an issue with transport toolbar being pushed to the bottom for these users. Also restore the width for the mixer toolbar, since it is now potentially smaller for users who had multiple input sources in 1.3.12 2011-04-04 14:14:54 +00:00
mchinen
c1cf9b4a76 bug 11 - Use const references when returning the map vector to ensure the device maps are not modified. I don't expect this to fix the bug behavior, but am committing because some testers see bad behavior that suggests the maps are modified between scans. 2011-03-20 22:20:41 +00:00
mchinen
a3a3230347 bug 11 - Device Toolbar/Manager - misc. code cleanup (not expected to fix bad behavior) 2011-03-20 20:52:04 +00:00
mchinen
935880f216 bug 11 - widen the default width for the MeterToolbar. 2011-03-19 15:43:16 +00:00
mchinen
4c766b2714 bug 11: fix bad index typo. may fix bug 11 issues on win 7. 2011-02-24 17:59:05 +00:00
mchinen
e68767cd04 re-add and update device preferences to match new device model.
also restores portaudio device defaults functionality when the device can't be found.
2011-02-19 21:53:22 +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
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
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
v.audacity
ca35e29a0f Remove unused var. 2011-02-11 00:33:55 +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
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
mchinen
dbf7942e1d MixerToolBar.cpp: fix input slider enabled status to match AudioIO::mInputMixerWorks 2011-01-31 13:38:40 +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
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
mchinen
337695ee19 bug 11 followup: DeviceToolbar - don't update preferences for the whole project when device changes. This fixes selection toolbar 'flashing'.
Also corrected a bug where only devices in the first host of the combobox would be selectable.
2011-01-23 17:03:59 +00:00
mchinen
48899f983d DeviceToolBar.cpp: improve resizing, refactor common elements.
Also change minimum width to accommodate 600px wide screens
2011-01-23 16:25:17 +00:00
mchinen
f4f4bccbbb bug 11 follow up: Fix initial width setting on windows (was working with mac/linux) 2011-01-23 13:32:49 +00:00
mchinen
2672b3a019 bug 11 followup: DeviceToolbar - fix mirroring issue when using reset toolbars menu item 2011-01-23 05:13:17 +00:00
mchinen
0d1e121aa4 Bug 11 followup: DeviceToolBar - fix initial size conditions when audacity.cfg is not present 2011-01-23 03:53:57 +00:00
mchinen
c6228a7042 bug 11 followup: make DeviceToolBar shown when user selects reset toolbars menu item 2011-01-22 21:27:27 +00:00
mchinen
ab3df2f512 Revert premature comment - this was an extra file commit mistake while committing other changes. 2011-01-22 21:11:15 +00:00
mchinen
25800063d7 fix linux build - needed foward declaration in last commit 2011-01-17 04:39:07 +00:00
mchinen
350b96038c bug 11 followup: fix sizing and positioning issues. Also autoresizes now. 2011-01-17 04:17:25 +00:00
mchinen
c183075a01 DeviceToolbar.cpp: cleanup and add debug diagnostics 2011-01-12 21:16:29 +00:00
mchinen
26d18dc248 bug 11 followup: DeviceToolbar.cpp: fix num channels redraw - was causing some platforms to display the wxChoice combo box incorrectly 2011-01-12 19:49:43 +00:00
mchinen
c738b19c81 Bug 11 followup: DeviceToolbar.cpp: Only display input sources for input. Was causing a bug on xp where the portaudio device index is the same for input and output on some devices. 2011-01-12 19:15:40 +00:00
mchinen
ce5103b8df Make DeviceToolBar on by default as preferences are now gone 2011-01-09 21:26:11 +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