diff options
author | Simon Wilson <simonwilson@google.com> | 2011-09-18 12:48:52 -0700 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2011-09-20 13:40:33 -0700 |
commit | e8c16fe2c718c1e638ef52d7435957fc8ed0c0ae (patch) | |
tree | e564f3b722c0a93168e053bbbe8f8d3362369824 /CleanSpec.mk | |
parent | fc51006f02e808d4d032486584c5ef2ca45dad4e (diff) | |
download | device_samsung_tuna-e8c16fe2c718c1e638ef52d7435957fc8ed0c0ae.zip device_samsung_tuna-e8c16fe2c718c1e638ef52d7435957fc8ed0c0ae.tar.gz device_samsung_tuna-e8c16fe2c718c1e638ef52d7435957fc8ed0c0ae.tar.bz2 |
audio: force initial non-speaker output for call
When the phone is ringing the active output device is always
the speaker, perhaps with a secondary output device such as
headset. When we answer the call the active output device is
still speaker, and set_mode() causes the modem PCM to be
opened for this route. However, we never use the speaker as
our initial audio route for call audio. This change forces
speaker off when we set up the initial in-call state so we
don't have to change it immediately when out_set_parameters()
is called with a different route.
This works for earpiece, headset and headphones. It doesn't
help bluetooth because the SCO connection is only begun
after the call is started.
Change-Id: Ie9f411c61570749fc26ab2ffa18cd1477e68a7e6
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions