OSDN Git Service

Fix issue 2416481: Support Voice Dialer over BT SCO.
authorEric Laurent <elaurent@google.com>
Thu, 11 Mar 2010 22:47:00 +0000 (14:47 -0800)
committerEric Laurent <elaurent@google.com>
Wed, 17 Mar 2010 00:32:18 +0000 (17:32 -0700)
commit101e77a31bd0c4cc49280a7dba78507fef08072f
treeec1792bf8902e5d4858dbfe5f84419a75b283c3a
parentb3a5395f4a26600c01aec1522e6ea8efdb7eecfb
Fix issue 2416481: Support Voice Dialer over BT SCO.

- AudioPolicyManager: allow platform specific choice for opening a direct output.
 Also fixed problems in direct output management.
- AudioFliinger: use shorter standby delay and track inactivity grace period for direct output
thread to free hardware resources as soon as possible.
- AudioSystem: do not use cached output selection in getOutput() when a direct output
can be selected.

Change-Id: If44b50d29237b8402ffd7a5ba1dc43c56f903e9b
libs/audioflinger/AudioFlinger.cpp
libs/audioflinger/AudioPolicyManagerBase.cpp