summaryrefslogtreecommitdiffstats
path: root/audio/audio_policy_hal.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-07-24 07:51:26 -0700
committerGlenn Kasten <gkasten@google.com>2012-07-24 07:51:26 -0700
commitc94dccc97cc3ed5171b45f46a0f7f8762d37156f (patch)
tree9c3a573e310a0fec048ed991e9f188ea726ec24d /audio/audio_policy_hal.cpp
parent270eebef69b40c665e5bf5f70b4389d920f0e4c1 (diff)
downloadhardware_libhardware_legacy-c94dccc97cc3ed5171b45f46a0f7f8762d37156f.zip
hardware_libhardware_legacy-c94dccc97cc3ed5171b45f46a0f7f8762d37156f.tar.gz
hardware_libhardware_legacy-c94dccc97cc3ed5171b45f46a0f7f8762d37156f.tar.bz2
effect_descriptor_t const correctness
Change-Id: I734155d4cebb22b180f25290332c7c48be1e2b36
Diffstat (limited to 'audio/audio_policy_hal.cpp')
-rw-r--r--audio/audio_policy_hal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/audio_policy_hal.cpp b/audio/audio_policy_hal.cpp
index e855c03..9e29bc4 100644
--- a/audio/audio_policy_hal.cpp
+++ b/audio/audio_policy_hal.cpp
@@ -266,14 +266,14 @@ static audio_devices_t ap_get_devices_for_stream(const struct audio_policy *pol,
}
static audio_io_handle_t ap_get_output_for_effect(struct audio_policy *pol,
- struct effect_descriptor_s *desc)
+ const struct effect_descriptor_s *desc)
{
struct legacy_audio_policy *lap = to_lap(pol);
return lap->apm->getOutputForEffect(desc);
}
static int ap_register_effect(struct audio_policy *pol,
- struct effect_descriptor_s *desc,
+ const struct effect_descriptor_s *desc,
audio_io_handle_t io,
uint32_t strategy,
int session,