diff options
author | Paul McLean <pmclean@google.com> | 2015-04-17 13:15:36 -0600 |
---|---|---|
committer | Paul McLean <pmclean@google.com> | 2015-04-28 10:46:14 -0600 |
commit | 466dc8ed6ca6b7f585104806c48613dd34e608c9 (patch) | |
tree | 086bbd91d48e366377c02df8a65a5e2bad8675a6 /services/audiopolicy/service/AudioPolicyInterfaceImplLegacy.cpp | |
parent | dae24729d0b3ced8c4a7d7f9b631e852f564db4f (diff) | |
download | frameworks_av-466dc8ed6ca6b7f585104806c48613dd34e608c9.zip frameworks_av-466dc8ed6ca6b7f585104806c48613dd34e608c9.tar.gz frameworks_av-466dc8ed6ca6b7f585104806c48613dd34e608c9.tar.bz2 |
Explicit routing in AudioRecord
Change-Id: I9cc5d54883a3e5c75d553fabb619fc8e49f4f9e5
Diffstat (limited to 'services/audiopolicy/service/AudioPolicyInterfaceImplLegacy.cpp')
-rw-r--r-- | services/audiopolicy/service/AudioPolicyInterfaceImplLegacy.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/services/audiopolicy/service/AudioPolicyInterfaceImplLegacy.cpp b/services/audiopolicy/service/AudioPolicyInterfaceImplLegacy.cpp index f783437..433e712 100644 --- a/services/audiopolicy/service/AudioPolicyInterfaceImplLegacy.cpp +++ b/services/audiopolicy/service/AudioPolicyInterfaceImplLegacy.cpp @@ -237,7 +237,8 @@ status_t AudioPolicyService::getInputForAttr(const audio_attributes_t *attr, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, - audio_input_flags_t flags __unused) + audio_input_flags_t flags __unused, + audio_port_handle_t selectedDeviceId __unused) { if (mpAudioPolicy == NULL) { return NO_INIT; @@ -568,7 +569,7 @@ status_t AudioPolicyService::getOutputForAttr(const audio_attributes_t *attr, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, - int selectedDeviceId __unused, + audio_port_handle_t selectedDeviceId __unused, const audio_offload_info_t *offloadInfo) { if (attr != NULL) { |