summaryrefslogtreecommitdiffstats
path: root/modules/audio/audio_hw.c
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-06-19 12:16:04 -0700
committerGlenn Kasten <gkasten@google.com>2012-06-25 10:45:43 -0700
commita635449697a2df5de98e72cfc24e926b641d5544 (patch)
treef581a4950512c0b5fa2f1376e0bd25748259701e /modules/audio/audio_hw.c
parentbd85f47ae7b6b2af30cf9d51d7039fbba5a271ed (diff)
downloadhardware_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.c4
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;
}