mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 21:56:30 +01:00
Implemented Tracks backend/engine reaction on device configuration changes (like I/O layout changes etc.) on Windows
This commit is contained in:
parent
c8b931d1b5
commit
9cdb799f3b
5 changed files with 65 additions and 23 deletions
|
|
@ -998,9 +998,6 @@ void WCMRPortAudioDevice::resetDevice (bool callerIsWaiting /*=false*/ )
|
|||
bool wasStreaming = Streaming();
|
||||
bool wasActive = Active();
|
||||
|
||||
// Notify the Application about reset
|
||||
m_pMyManager->NotifyClient (WCMRAudioDeviceManagerClient::RequestReset);
|
||||
|
||||
// Reset the device
|
||||
stopStreaming();
|
||||
deactivateDevice();
|
||||
|
|
@ -1080,7 +1077,7 @@ long WCMRPortAudioDevice::ASIOMessageHook (long selector, long WCUNUSEDPARAM(val
|
|||
case kAsioResetRequest:
|
||||
m_ResetRequested++;
|
||||
std::cout << "\t\t\tWCMRPortAudioDevice::ASIOMessageHook -- kAsioResetRequest" << std::endl;
|
||||
SetEvent(m_hResetFromDevRequestedEvent);
|
||||
m_pMyManager->NotifyClient (WCMRAudioDeviceManagerClient::RequestReset);
|
||||
break;
|
||||
|
||||
case kAsioResyncRequest:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue