mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 22:26:29 +01:00
[Summary] Fixed bug with per thread pool error on Windows, when opening device control panel
This commit is contained in:
parent
5d5655d682
commit
314236e1c6
2 changed files with 7 additions and 3 deletions
|
|
@ -360,8 +360,10 @@ WTErr WCMRAudioDevice::ResetDevice ()
|
|||
if (err == eNoErr && wasActive)
|
||||
SetActive(true);
|
||||
|
||||
if (err == eNoErr && wasStreaming)
|
||||
if (err == eNoErr && wasStreaming) {
|
||||
m_pMyManager->NotifyClient (WCMRAudioDeviceManagerClient::DeviceStartsStreaming);
|
||||
SetStreaming(true);
|
||||
}
|
||||
|
||||
return err;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1334,9 +1334,11 @@ WTErr WCMRPortAudioDevice::ShowConfigPanel (void *pParam)
|
|||
ResetDevice();
|
||||
// restore previous state for the device
|
||||
SetActive(true);
|
||||
if (wasStreaming)
|
||||
if (wasStreaming) {
|
||||
m_pMyManager->NotifyClient (WCMRAudioDeviceManagerClient::DeviceStartsStreaming);
|
||||
SetStreaming(true);
|
||||
}
|
||||
}
|
||||
#else
|
||||
pParam = pParam;
|
||||
#endif //_windows
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue