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)
|
if (err == eNoErr && wasActive)
|
||||||
SetActive(true);
|
SetActive(true);
|
||||||
|
|
||||||
if (err == eNoErr && wasStreaming)
|
if (err == eNoErr && wasStreaming) {
|
||||||
|
m_pMyManager->NotifyClient (WCMRAudioDeviceManagerClient::DeviceStartsStreaming);
|
||||||
SetStreaming(true);
|
SetStreaming(true);
|
||||||
|
}
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1334,9 +1334,11 @@ WTErr WCMRPortAudioDevice::ShowConfigPanel (void *pParam)
|
||||||
ResetDevice();
|
ResetDevice();
|
||||||
// restore previous state for the device
|
// restore previous state for the device
|
||||||
SetActive(true);
|
SetActive(true);
|
||||||
if (wasStreaming)
|
if (wasStreaming) {
|
||||||
|
m_pMyManager->NotifyClient (WCMRAudioDeviceManagerClient::DeviceStartsStreaming);
|
||||||
SetStreaming(true);
|
SetStreaming(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
pParam = pParam;
|
pParam = pParam;
|
||||||
#endif //_windows
|
#endif //_windows
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue