comparison framework/MainWindowBase.h @ 570:6f54789f3127 3.0-integration

Fix race condition in first-time recording, where adding the recording wave model would prompt the audio play source to note that its channel count had increased (from 0 to, say, 2) and thus to cause the audio device to be reopened, stopping recording. Fix is to make this only happen if channel count increases beyond that of the device, which shouldn't happen in the recording case
author Chris Cannam
date Wed, 04 Jan 2017 11:48:03 +0000
parents be83e81d9156
children 5369359351cb
comparison
equal deleted inserted replaced
569:1cc23cee4ebf 570:6f54789f3127
246 246
247 virtual void playLoopToggled(); 247 virtual void playLoopToggled();
248 virtual void playSelectionToggled(); 248 virtual void playSelectionToggled();
249 virtual void playSoloToggled(); 249 virtual void playSoloToggled();
250 250
251 virtual void audioChannelCountIncreased(int count);
252
251 virtual void sampleRateMismatch(sv_samplerate_t, sv_samplerate_t, bool) = 0; 253 virtual void sampleRateMismatch(sv_samplerate_t, sv_samplerate_t, bool) = 0;
252 virtual void audioOverloadPluginDisabled() = 0; 254 virtual void audioOverloadPluginDisabled() = 0;
253 virtual void audioTimeStretchMultiChannelDisabled() = 0; 255 virtual void audioTimeStretchMultiChannelDisabled() = 0;
254 256
255 virtual void playbackFrameChanged(sv_frame_t); 257 virtual void playbackFrameChanged(sv_frame_t);