diff options
author | Eric Laurent <elaurent@google.com> | 2014-05-07 19:48:15 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-05-08 14:10:17 -0700 |
commit | 99401131e58f2ff7f5571037d0d53b6f684e5543 (patch) | |
tree | 0a94d258392b447c8a8c457f6f085f7118ced3ce /services/audioflinger/AudioFlinger.h | |
parent | eee8fc78703dd77244407250402fe7464fe50fd3 (diff) | |
download | frameworks_av-99401131e58f2ff7f5571037d0d53b6f684e5543.zip frameworks_av-99401131e58f2ff7f5571037d0d53b6f684e5543.tar.gz frameworks_av-99401131e58f2ff7f5571037d0d53b6f684e5543.tar.bz2 |
audio policy: fix mute delay when setting output device
The duration of the temporary mute applied on each output
when switching device must be more than twice the actual delay
we wait for the mute to be effective at the output.
Otherwise some outputs with short latencies will be unmuted before the
device switch is actually executed.
This change makes sure that we take the maximum wait time into account
when requesting the delayed unmuting of each output.
Change-Id: Id92c201b47786082a44b6a5c1c8015273835a42e
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
0 files changed, 0 insertions, 0 deletions