mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-17 08:40:27 +02:00
Bug2164: Quick play should work after recording...
... bug began at 7969b5a9e99a3fa63cdd13c78e48f02c4169a6b6
This commit is contained in:
parent
711e600eab
commit
9bcd09a8a1
@ -2366,6 +2366,7 @@ void AudioIO::StopStream()
|
||||
//
|
||||
// Only set token to 0 after we're totally finished with everything
|
||||
//
|
||||
bool wasMonitoring = mStreamToken == 0;
|
||||
mStreamToken = 0;
|
||||
|
||||
if (mNumPlaybackChannels > 0)
|
||||
@ -2378,7 +2379,7 @@ void AudioIO::StopStream()
|
||||
|
||||
if (mNumCaptureChannels > 0)
|
||||
{
|
||||
wxCommandEvent e(mStreamToken == 0 ? EVT_AUDIOIO_MONITOR : EVT_AUDIOIO_CAPTURE);
|
||||
wxCommandEvent e(wasMonitoring ? EVT_AUDIOIO_MONITOR : EVT_AUDIOIO_CAPTURE);
|
||||
e.SetEventObject(mOwningProject);
|
||||
e.SetInt(false);
|
||||
wxTheApp->ProcessEvent(e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user