diff options
author | Glenn Kasten <gkasten@google.com> | 2012-02-20 12:08:57 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-07-24 07:53:14 -0700 |
commit | 48915acb392773c1fcb86e2711eab468410a0baa (patch) | |
tree | 493d9b5b3ff555889e18088c2726f39e006e01a4 /include/hardware/audio.h | |
parent | dbe4228e2dfed013dd42b62f10ebf94a32c3ef4f (diff) | |
download | hardware_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 'include/hardware/audio.h')
-rw-r--r-- | include/hardware/audio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hardware/audio.h b/include/hardware/audio.h index 01d79b2..0a917e2 100644 --- a/include/hardware/audio.h +++ b/include/hardware/audio.h @@ -291,7 +291,7 @@ typedef struct audio_stream_in audio_stream_in_t; /** * return the frame size (number of bytes per sample). */ -static inline size_t audio_stream_frame_size(struct audio_stream *s) +static inline size_t audio_stream_frame_size(const struct audio_stream *s) { size_t chan_samp_sz; |