summaryrefslogtreecommitdiffstats
path: root/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-12-01 17:52:59 -0800
committerEric Laurent <elaurent@google.com>2014-12-09 15:47:30 -0800
commitbaac183f3808d7b68f184647a97bd381620415fe (patch)
treeaf81e602db02f55eb35852e3d0851499199166ed /services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
parent275e8e9de2e11b4b344f5a201f1f0e51fda02d9c (diff)
downloadframeworks_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 'services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp')
-rw-r--r--services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp b/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
index 4e42b25..4bc3c7f 100644
--- a/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
+++ b/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp
@@ -555,7 +555,7 @@ status_t AudioPolicyService::setAudioPortConfig(const struct audio_port_config *
status_t AudioPolicyService::getOutputForAttr(const audio_attributes_t *attr,
audio_io_handle_t *output,
- audio_session_t session,
+ audio_session_t session __unused,
audio_stream_type_t *stream,
uint32_t samplingRate,
audio_format_t format,
@@ -590,4 +590,10 @@ status_t AudioPolicyService::releaseSoundTriggerSession(audio_session_t session
return INVALID_OPERATION;
}
+status_t AudioPolicyService::registerPolicyMixes(Vector<AudioMix> mixes __unused,
+ bool registration __unused)
+{
+ return INVALID_OPERATION;
+}
+
}; // namespace android