diff options
author | Eric Laurent <elaurent@google.com> | 2009-08-12 05:49:58 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2009-08-12 05:49:58 -0700 |
commit | 11c04c984afa0b3eea351d7cd9a62daab0ec70ea (patch) | |
tree | ce61784ef50667d4fabfb233fe1bd5c669b09b54 /libs/audioflinger/A2dpAudioInterface.h | |
parent | cf70e3301bcbfbdeb6a4fd04196f3e4ea5420c39 (diff) | |
download | frameworks_native-11c04c984afa0b3eea351d7cd9a62daab0ec70ea.zip frameworks_native-11c04c984afa0b3eea351d7cd9a62daab0ec70ea.tar.gz frameworks_native-11c04c984afa0b3eea351d7cd9a62daab0ec70ea.tar.bz2 |
Workaround for issue 2046783.
Apparently the problem is caused by the fact that A2dpAudioStreamOut::standby() calls a2dp_stop() after the headset has been powered down.
The workaround consists in indicating to A2DP audio hardware that a close request is pending and that stanby() must be bypassed.
Diffstat (limited to 'libs/audioflinger/A2dpAudioInterface.h')
-rw-r--r-- | libs/audioflinger/A2dpAudioInterface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/audioflinger/A2dpAudioInterface.h b/libs/audioflinger/A2dpAudioInterface.h index d6709e2..35a6e11 100644 --- a/libs/audioflinger/A2dpAudioInterface.h +++ b/libs/audioflinger/A2dpAudioInterface.h @@ -112,6 +112,7 @@ private: Mutex mLock; bool mBluetoothEnabled; uint32_t mDevice; + bool mClosing; }; friend class A2dpAudioStreamOut; |