[Summary] Fixed bug with per thread pool error on Windows, when opening device control panel

This commit is contained in:
Greg Zharun 2015-02-03 12:32:56 +02:00
parent 5d5655d682
commit 314236e1c6
2 changed files with 7 additions and 3 deletions

View file

@ -360,8 +360,10 @@ WTErr WCMRAudioDevice::ResetDevice ()
if (err == eNoErr && wasActive)
SetActive(true);
if (err == eNoErr && wasStreaming)
SetStreaming(true);
if (err == eNoErr && wasStreaming) {
m_pMyManager->NotifyClient (WCMRAudioDeviceManagerClient::DeviceStartsStreaming);
SetStreaming(true);
}
return err;
}