summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'audio/multizone')
-rw-r--r--audio/multizone/AudioHw.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/multizone/AudioHw.cpp b/audio/multizone/AudioHw.cpp
index a7e3586..5432c07 100644
--- a/audio/multizone/AudioHw.cpp
+++ b/audio/multizone/AudioHw.cpp
@@ -195,7 +195,7 @@ int AudioStreamOut::standby()
195 195
196void AudioStreamOut::setVoiceCall(bool on) 196void AudioStreamOut::setVoiceCall(bool on)
197{ 197{
198 ALOGV("AudioStreamOut: standby()"); 198 ALOGV("AudioStreamOut: setVoiceCall() %s", on ? "enter" : "leave");
199 199
200 AutoMutex lock(mLock); 200 AutoMutex lock(mLock);
201 201
@@ -879,9 +879,9 @@ void AudioHwDevice::disableVoiceCall()
879 879
880 sp<AudioStreamOut> outStream = mPrimaryStreamOut.promote(); 880 sp<AudioStreamOut> outStream = mPrimaryStreamOut.promote();
881 if (outStream != NULL) { 881 if (outStream != NULL) {
882 outStream->setVoiceCall(false);
883 if (outStream->mWriter->isStreamRegistered(mVoiceDLOutStream)) 882 if (outStream->mWriter->isStreamRegistered(mVoiceDLOutStream))
884 outStream->mWriter->unregisterStream(mVoiceDLOutStream); 883 outStream->mWriter->unregisterStream(mVoiceDLOutStream);
884 outStream->setVoiceCall(false);
885 } else { 885 } else {
886 ALOGE("AudioHwDevice: primary output stream is not valid"); 886 ALOGE("AudioHwDevice: primary output stream is not valid");
887 } 887 }