summaryrefslogtreecommitdiffstats
path: root/modules/audio
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-02-20 12:08:57 -0800
committerGlenn Kasten <gkasten@google.com>2012-07-24 07:53:14 -0700
commit48915acb392773c1fcb86e2711eab468410a0baa (patch)
tree493d9b5b3ff555889e18088c2726f39e006e01a4 /modules/audio
parentdbe4228e2dfed013dd42b62f10ebf94a32c3ef4f (diff)
downloadhardware_libhardware-48915acb392773c1fcb86e2711eab468410a0baa.zip
hardware_libhardware-48915acb392773c1fcb86e2711eab468410a0baa.tar.gz
hardware_libhardware-48915acb392773c1fcb86e2711eab468410a0baa.tar.bz2
struct effect_descriptor_s const correctness
Also struct audio_stream in audio_stream_frame_size Change-Id: Ie0de708e38a1850c186a8b4eb5f491adc44b3275
Diffstat (limited to 'modules/audio')
-rw-r--r--modules/audio/audio_policy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/audio/audio_policy.c b/modules/audio/audio_policy.c
index a44ea77..2dd3dbe 100644
--- a/modules/audio/audio_policy.c
+++ b/modules/audio/audio_policy.c
@@ -193,13 +193,13 @@ 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)
{
return 0;
}
static int ap_register_effect(struct audio_policy *pol,
- struct effect_descriptor_s *desc,
+ const struct effect_descriptor_s *desc,
audio_io_handle_t output,
uint32_t strategy,
int session,