diff options
author | Eric Laurent <elaurent@google.com> | 2014-12-01 17:52:59 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-12-09 15:47:30 -0800 |
commit | baac183f3808d7b68f184647a97bd381620415fe (patch) | |
tree | af81e602db02f55eb35852e3d0851499199166ed /include/media/AudioSystem.h | |
parent | 275e8e9de2e11b4b344f5a201f1f0e51fda02d9c (diff) | |
download | frameworks_av-baac183f3808d7b68f184647a97bd381620415fe.zip frameworks_av-baac183f3808d7b68f184647a97bd381620415fe.tar.gz frameworks_av-baac183f3808d7b68f184647a97bd381620415fe.tar.bz2 |
audio policy: binder calls for dynamic audio policy mixes
Add binder calls to register and unregister dynamic mixes
to AudioPolicyManager.
Bug: 16009464.
Change-Id: I4ef38166d0cfc88c984970969380d0cd6eb083ac
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r-- | include/media/AudioSystem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h index bf1fc1c..843a354 100644 --- a/include/media/AudioSystem.h +++ b/include/media/AudioSystem.h @@ -18,6 +18,7 @@ #define ANDROID_AUDIOSYSTEM_H_ #include <hardware/audio_effect.h> +#include <media/AudioPolicy.h> #include <media/IAudioFlingerClient.h> #include <media/IAudioPolicyServiceClient.h> #include <system/audio.h> @@ -324,6 +325,8 @@ public: static audio_mode_t getPhoneState(); + static status_t registerPolicyMixes(Vector<AudioMix> mixes, bool registration); + // ---------------------------------------------------------------------------- class AudioPortCallback : public RefBase |