diff options
| author | Glenn Kasten <gkasten@google.com> | 2012-07-24 07:51:26 -0700 |
|---|---|---|
| committer | Glenn Kasten <gkasten@google.com> | 2012-07-24 07:51:26 -0700 |
| commit | c94dccc97cc3ed5171b45f46a0f7f8762d37156f (patch) | |
| tree | 9c3a573e310a0fec048ed991e9f188ea726ec24d /audio/AudioPolicyManagerBase.cpp | |
| parent | 270eebef69b40c665e5bf5f70b4389d920f0e4c1 (diff) | |
| download | hardware_libhardware_legacy-c94dccc97cc3ed5171b45f46a0f7f8762d37156f.tar.gz hardware_libhardware_legacy-c94dccc97cc3ed5171b45f46a0f7f8762d37156f.tar.bz2 hardware_libhardware_legacy-c94dccc97cc3ed5171b45f46a0f7f8762d37156f.zip | |
effect_descriptor_t const correctness
Change-Id: I734155d4cebb22b180f25290332c7c48be1e2b36
Diffstat (limited to 'audio/AudioPolicyManagerBase.cpp')
| -rw-r--r-- | audio/AudioPolicyManagerBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/AudioPolicyManagerBase.cpp b/audio/AudioPolicyManagerBase.cpp index d0adb3a..982114d 100644 --- a/audio/AudioPolicyManagerBase.cpp +++ b/audio/AudioPolicyManagerBase.cpp @@ -1007,7 +1007,7 @@ status_t AudioPolicyManagerBase::getStreamVolumeIndex(AudioSystem::stream_type s return NO_ERROR; } -audio_io_handle_t AudioPolicyManagerBase::getOutputForEffect(effect_descriptor_t *desc) +audio_io_handle_t AudioPolicyManagerBase::getOutputForEffect(const effect_descriptor_t *desc) { ALOGV("getOutputForEffect()"); // apply simple rule where global effects are attached to the same output as MUSIC streams @@ -1025,7 +1025,7 @@ audio_io_handle_t AudioPolicyManagerBase::getOutputForEffect(effect_descriptor_t return dstOutputs[outIdx]; } -status_t AudioPolicyManagerBase::registerEffect(effect_descriptor_t *desc, +status_t AudioPolicyManagerBase::registerEffect(const effect_descriptor_t *desc, audio_io_handle_t io, uint32_t strategy, int session, |
