OSDN Git Service

Fix issue 2174002: After rejecting Call when device ringtone is mute and playing...
authorEric Laurent <elaurent@google.com>
Thu, 8 Oct 2009 17:58:19 +0000 (10:58 -0700)
committerEric Laurent <elaurent@google.com>
Thu, 8 Oct 2009 19:03:51 +0000 (12:03 -0700)
commit21154125643ab0baba3c4b074e196ac0d43d77f4
tree6a6f4c2c3ec652b0555678bf204468227211b312
parentb55acf4902bb8437febfbed9fd183d4202a9cd79
Fix issue 2174002: After rejecting Call when device ringtone is mute and playing music, audio is not transfered to BT device.

Added a workarouond to request the A2DP output standby directly to audio hardware when the sink is suspended as it seems that the suspend request often fails.

Also take into account resume requests received while a suspend request is pending.
libs/audioflinger/A2dpAudioInterface.cpp
libs/audioflinger/A2dpAudioInterface.h