diff options
author | Eric Laurent <elaurent@google.com> | 2015-04-24 08:48:48 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-04-28 19:05:19 -0700 |
commit | 054d9d3dea1390294650ac704acb4aa0a0731217 (patch) | |
tree | 4d67c48a2cf367d661f1e33a6670cda052a569a3 /media/libmedia/AudioSystem.cpp | |
parent | f62a067a5b21c840c915d36392679346ac0abfd7 (diff) | |
download | frameworks_av-054d9d3dea1390294650ac704acb4aa0a0731217.zip frameworks_av-054d9d3dea1390294650ac704acb4aa0a0731217.tar.gz frameworks_av-054d9d3dea1390294650ac704acb4aa0a0731217.tar.bz2 |
PatchPanel: do not use setParameters() internally.
Do not use setParameters() with AUDIO_PARAMETER_STREAM_ROUTING
when communicating the input or output device selected to playback or
record threads, even for HAL version less than 3.0.
Use createAudioPatch()/releaseAudioPatch() instead.
This allows to send more information on the output or input device being
selected.
Also fix a regression introduced in L where the output device selection
was not communicated to effects on record threads.
Change-Id: I4780ada53241d56694b005c992171e173c3bf8f5
Diffstat (limited to 'media/libmedia/AudioSystem.cpp')
0 files changed, 0 insertions, 0 deletions