diff options
author | Eric Laurent <elaurent@google.com> | 2009-08-04 07:43:10 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2009-08-04 07:43:10 -0700 |
commit | 351def28f05057b7bf47194172d4bec333bb3285 (patch) | |
tree | a517e37c9f45ad05c246eef53b0c9deb78573844 /libs/audioflinger | |
parent | cd9e8d49071d10ad2d64530070a5c82fe2f49902 (diff) | |
download | frameworks_base-351def28f05057b7bf47194172d4bec333bb3285.zip frameworks_base-351def28f05057b7bf47194172d4bec333bb3285.tar.gz frameworks_base-351def28f05057b7bf47194172d4bec333bb3285.tar.bz2 |
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.
Diffstat (limited to 'libs/audioflinger')
-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 6f9e934..20db8a5 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; |