From 457931affd3bc8cc300997d61eedb6565e17c62c Mon Sep 17 00:00:00 2001 From: GZharun Date: Fri, 13 Feb 2015 17:59:04 +0200 Subject: [PATCH] [Summary] Cosmetic fix --- .../wavesapi/devicemanager/WCMRAudioDeviceManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/backends/wavesaudio/wavesapi/devicemanager/WCMRAudioDeviceManager.cpp b/libs/backends/wavesaudio/wavesapi/devicemanager/WCMRAudioDeviceManager.cpp index e6affd6fc5..d0eab7d302 100644 --- a/libs/backends/wavesaudio/wavesapi/devicemanager/WCMRAudioDeviceManager.cpp +++ b/libs/backends/wavesaudio/wavesapi/devicemanager/WCMRAudioDeviceManager.cpp @@ -341,7 +341,9 @@ 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 - m_pMyManager->NotifyClient (WCMRAudioDeviceManagerClient::DeviceStartsStreaming); + if (newState) { + m_pMyManager->NotifyClient (WCMRAudioDeviceManagerClient::DeviceStartsStreaming); + } //This will most likely be overridden, the base class simply //changes the member.