diff options
author | GZharun <grygoriiz@wavesglobal.com> | 2015-02-13 17:59:04 +0200 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-29 14:18:14 -0400 |
commit | 0fca07fa9df93d9bcbf516be2824247b39a1aeff (patch) | |
tree | 54773aedaccfc6c8600cc94bd13eaddf5700b3e3 /libs | |
parent | 480f1e408211b8d3acdf0af41291e14ad47d2126 (diff) |
cosmetic fix (grygorii)
Diffstat (limited to 'libs')
-rw-r--r-- | libs/backends/wavesaudio/wavesapi/devicemanager/WCMRAudioDeviceManager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/backends/wavesaudio/wavesapi/devicemanager/WCMRAudioDeviceManager.cpp b/libs/backends/wavesaudio/wavesapi/devicemanager/WCMRAudioDeviceManager.cpp index cddc218df6..ee8dba5028 100644 --- a/libs/backends/wavesaudio/wavesapi/devicemanager/WCMRAudioDeviceManager.cpp +++ b/libs/backends/wavesaudio/wavesapi/devicemanager/WCMRAudioDeviceManager.cpp @@ -339,6 +339,12 @@ bool WCMRAudioDevice::Streaming () //********************************************************************************************** WTErr WCMRAudioDevice::SetStreaming (bool newState) { + // We must notify angine about our intention to start streming + // so Engine will provide all the initializations in the first audio callback + if (newState) { + m_pMyManager->NotifyClient (WCMRAudioDeviceManagerClient::DeviceStartsStreaming); + } + //This will most likely be overridden, the base class simply //changes the member. m_IsStreaming = newState; |