diff options
author | Eric Laurent <elaurent@google.com> | 2014-01-06 10:04:43 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-01-08 09:34:38 -0800 |
commit | 9f4165f36d90dddc32246d0eddbf289383c3b2bb (patch) | |
tree | adf779ff544b5b62efd7bb6a5b406ab10b016cc8 /include/hardware_legacy/AudioPolicyManagerBase.h | |
parent | 2d749b0bda4ae60ef1a940eeba86121b2e94d07d (diff) | |
download | hardware_libhardware_legacy-9f4165f36d90dddc32246d0eddbf289383c3b2bb.zip hardware_libhardware_legacy-9f4165f36d90dddc32246d0eddbf289383c3b2bb.tar.gz hardware_libhardware_legacy-9f4165f36d90dddc32246d0eddbf289383c3b2bb.tar.bz2 |
audio policy: send config params when opening output
When a new output stream is opened upon device connection,
always send mandatory configuration parameters
(A2DP device address, ALSA card and device number etc...)
immediately after opening the output.
Change-Id: Id1fc1d99d3b30e2ef907dcb231a6a9e70560ecae
Diffstat (limited to 'include/hardware_legacy/AudioPolicyManagerBase.h')
-rw-r--r-- | include/hardware_legacy/AudioPolicyManagerBase.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hardware_legacy/AudioPolicyManagerBase.h b/include/hardware_legacy/AudioPolicyManagerBase.h index a1f7d37..1ff409e 100644 --- a/include/hardware_legacy/AudioPolicyManagerBase.h +++ b/include/hardware_legacy/AudioPolicyManagerBase.h @@ -415,7 +415,8 @@ protected: // transfers the audio tracks and effects from one output thread to another accordingly. status_t checkOutputsForDevice(audio_devices_t device, AudioSystem::device_connection_state state, - SortedVector<audio_io_handle_t>& outputs); + SortedVector<audio_io_handle_t>& outputs, + const String8 paramStr); // close an output and its companion duplicating output. void closeOutput(audio_io_handle_t output); |