summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-03-14 12:50:51 -0700
committerGlenn Kasten <gkasten@google.com>2012-06-25 10:34:51 -0700
commita66f8df59723f4b2c230e4e69265e55ac6ab29fd (patch)
tree4b3f2db726c49790ab0f21160c78930f13364ccc /audio
parent77f704126f44791c453e7e880efd344c42f8a5ca (diff)
downloaddevice_samsung_tuna-a66f8df59723f4b2c230e4e69265e55ac6ab29fd.zip
device_samsung_tuna-a66f8df59723f4b2c230e4e69265e55ac6ab29fd.tar.gz
device_samsung_tuna-a66f8df59723f4b2c230e4e69265e55ac6ab29fd.tar.bz2
Use audio_channel_mask_t consistently
Change-Id: I90a50b58dd23fe522724df53f08b4f9687150da6
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index d377f2b..8ae519c 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -1681,7 +1681,7 @@ static size_t out_get_buffer_size_hdmi(const struct audio_stream *stream)
return HDMI_MULTI_PERIOD_SIZE * audio_stream_frame_size((struct audio_stream *)stream);
}
-static uint32_t out_get_channels(const struct audio_stream *stream)
+static audio_channel_mask_t out_get_channels(const struct audio_stream *stream)
{
struct tuna_stream_out *out = (struct tuna_stream_out *)stream;
@@ -2240,7 +2240,7 @@ static size_t in_get_buffer_size(const struct audio_stream *stream)
popcount(in->main_channels));
}
-static uint32_t in_get_channels(const struct audio_stream *stream)
+static audio_channel_mask_t in_get_channels(const struct audio_stream *stream)
{
struct tuna_stream_in *in = (struct tuna_stream_in *)stream;