diff options
author | Glenn Kasten <gkasten@google.com> | 2012-06-19 12:16:04 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-06-25 10:45:43 -0700 |
commit | a635449697a2df5de98e72cfc24e926b641d5544 (patch) | |
tree | f581a4950512c0b5fa2f1376e0bd25748259701e /modules/audio/audio_hw.c | |
parent | bd85f47ae7b6b2af30cf9d51d7039fbba5a271ed (diff) | |
download | hardware_libhardware-a635449697a2df5de98e72cfc24e926b641d5544.zip hardware_libhardware-a635449697a2df5de98e72cfc24e926b641d5544.tar.gz hardware_libhardware-a635449697a2df5de98e72cfc24e926b641d5544.tar.bz2 |
Use audio_channel_mask_t consistently
Change-Id: Ib832c0b707b1e0b82adf4ab3d4d18a2dc459d240
Diffstat (limited to 'modules/audio/audio_hw.c')
-rw-r--r-- | modules/audio/audio_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/audio/audio_hw.c b/modules/audio/audio_hw.c index d860437..15e9920 100644 --- a/modules/audio/audio_hw.c +++ b/modules/audio/audio_hw.c @@ -55,7 +55,7 @@ static size_t out_get_buffer_size(const struct audio_stream *stream) return 4096; } -static uint32_t out_get_channels(const struct audio_stream *stream) +static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) { return AUDIO_CHANNEL_OUT_STEREO; } @@ -148,7 +148,7 @@ static size_t in_get_buffer_size(const struct audio_stream *stream) return 320; } -static uint32_t in_get_channels(const struct audio_stream *stream) +static audio_channel_mask_t in_get_channels(const struct audio_stream *stream) { return AUDIO_CHANNEL_IN_MONO; } |