diff options
author | 2009-08-04 07:43:10 -0700 | |
---|---|---|
committer | 2009-08-04 07:43:10 -0700 | |
commit | 351def28f05057b7bf47194172d4bec333bb3285 (patch) | |
tree | a517e37c9f45ad05c246eef53b0c9deb78573844 | |
parent | cd9e8d49071d10ad2d64530070a5c82fe2f49902 (diff) |
Fix problem in A2DP interface closeOutputStream().
If the output stream handler passed was not the A2DP output stream, the request was ignored instead of being forwarded downstream to hardware interface.
-rw-r--r-- | libs/audioflinger/A2dpAudioInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/audioflinger/A2dpAudioInterface.cpp b/libs/audioflinger/A2dpAudioInterface.cpp index 6f9e93444e22..20db8a5ed700 100644 --- a/libs/audioflinger/A2dpAudioInterface.cpp +++ b/libs/audioflinger/A2dpAudioInterface.cpp @@ -89,7 +89,7 @@ AudioStreamOut* A2dpAudioInterface::openOutputStream( void A2dpAudioInterface::closeOutputStream(AudioStreamOut* out) { if (mOutput == 0 || mOutput != out) { - LOGW("Attempt to close invalid output stream"); + mHardwareInterface->closeOutputStream(out); } else { delete mOutput; |