From 0fca07fa9df93d9bcbf516be2824247b39a1aeff Mon Sep 17 00:00:00 2001 From: GZharun Date: Fri, 13 Feb 2015 17:59:04 +0200 Subject: [PATCH] cosmetic fix (grygorii) --- .../wavesapi/devicemanager/WCMRAudioDeviceManager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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;