OSDN Git Service

Workaround for issue 2046783.
authorEric Laurent <elaurent@google.com>
Wed, 12 Aug 2009 12:49:58 +0000 (05:49 -0700)
committerEric Laurent <elaurent@google.com>
Wed, 12 Aug 2009 12:49:58 +0000 (05:49 -0700)
commitfe4fc91260af3c640e434c2c98516a703588ca60
tree617394c6ff4f0f69b11a1c58a90ac3f43209a941
parent2ec8458c5fd5b1bfad2d6e16b606f5acbcfa34cc
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.
libs/audioflinger/A2dpAudioInterface.cpp
libs/audioflinger/A2dpAudioInterface.h