[Summary] Cosmetic fix

This commit is contained in:
GZharun 2015-02-13 17:59:04 +02:00
parent 6efc1522ed
commit 457931affd

View file

@ -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.