diff options
author | Eric Laurent <elaurent@google.com> | 2015-04-10 11:29:24 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-04-15 23:15:38 +0000 |
commit | 554a277d4e42a3d3df3d90ba0e7dfa2d31690e32 (patch) | |
tree | 3647500470a7eca8095102a0e2818acb848cdf6a /include/media/AudioSystem.h | |
parent | 3249558196082087fb8bd0a847ef5c6000c8b925 (diff) | |
download | frameworks_av-554a277d4e42a3d3df3d90ba0e7dfa2d31690e32.zip frameworks_av-554a277d4e42a3d3df3d90ba0e7dfa2d31690e32.tar.gz frameworks_av-554a277d4e42a3d3df3d90ba0e7dfa2d31690e32.tar.bz2 |
audio policy: add binder calls for audio source control
Add binder methods to IAudioPolicyService to control activity
of external audio sources (e.g FM tuner).
Change-Id: I2008308a6a996baeae502b68a790d87281efe2ff
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r-- | include/media/AudioSystem.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h index 927283c..182133c 100644 --- a/include/media/AudioSystem.h +++ b/include/media/AudioSystem.h @@ -332,6 +332,12 @@ public: static status_t registerPolicyMixes(Vector<AudioMix> mixes, bool registration); + static status_t startAudioSource(const struct audio_port_config *source, + const audio_attributes_t *attributes, + audio_io_handle_t *handle); + static status_t stopAudioSource(audio_io_handle_t handle); + + // ---------------------------------------------------------------------------- class AudioPortCallback : public RefBase |