diff options
author | Paul McLean <pmclean@google.com> | 2015-03-21 09:55:15 -0700 |
---|---|---|
committer | Paul McLean <pmclean@google.com> | 2015-04-08 09:51:07 -0700 |
commit | aa9811945f575614b3482d09e4d969792701cebb (patch) | |
tree | 1744aa567efe78c3062ec80da19277d96def0725 /include/media/AudioSystem.h | |
parent | 41efeb2b477066d96ad34a048f34fb6fb34213ec (diff) | |
download | frameworks_av-aa9811945f575614b3482d09e4d969792701cebb.zip frameworks_av-aa9811945f575614b3482d09e4d969792701cebb.tar.gz frameworks_av-aa9811945f575614b3482d09e4d969792701cebb.tar.bz2 |
Adding explicit routing API to AudioTrack
Change-Id: I40c048c7644c46f4e4f7103875206c0785c4b1dc
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r-- | include/media/AudioSystem.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h index f5db1bb..3b6db8c 100644 --- a/include/media/AudioSystem.h +++ b/include/media/AudioSystem.h @@ -221,14 +221,15 @@ public: audio_output_flags_t flags = AUDIO_OUTPUT_FLAG_NONE, const audio_offload_info_t *offloadInfo = NULL); static status_t getOutputForAttr(const audio_attributes_t *attr, - audio_io_handle_t *output, - audio_session_t session, - audio_stream_type_t *stream, - uint32_t samplingRate = 0, - audio_format_t format = AUDIO_FORMAT_DEFAULT, - audio_channel_mask_t channelMask = AUDIO_CHANNEL_OUT_STEREO, - audio_output_flags_t flags = AUDIO_OUTPUT_FLAG_NONE, - const audio_offload_info_t *offloadInfo = NULL); + audio_io_handle_t *output, + audio_session_t session, + audio_stream_type_t *stream, + uint32_t samplingRate = 0, + audio_format_t format = AUDIO_FORMAT_DEFAULT, + audio_channel_mask_t channelMask = AUDIO_CHANNEL_OUT_STEREO, + audio_output_flags_t flags = AUDIO_OUTPUT_FLAG_NONE, + audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE, + const audio_offload_info_t *offloadInfo = NULL); static status_t startOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session); |