diff options
author | Misael Lopez Cruz <misael.lopez@ti.com> | 2014-11-25 20:01:54 -0600 |
---|---|---|
committer | Misael Lopez Cruz <misael.lopez@ti.com> | 2014-11-26 03:06:17 -0600 |
commit | a85636622547a03d70ecead904b8a94e8a7c3bad (patch) | |
tree | b939869ba65e5ffa95754d0c06a98000539c8bb2 | |
parent | 7a7080371e3ff3a4973d9944d175a637aba3d460 (diff) | |
download | jacinto6evm-a85636622547a03d70ecead904b8a94e8a7c3bad.tar.gz |
audio: Legacy: Fix input channel mask macro
An incorrect channel mask macro was used to report the
input channel mask. The correct macro is:
audio_channel_in_mask_from_count().
Change-Id: I1b5c10980ddc7b034654d899d159df80ccc50b81
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
-rw-r--r-- | audio/legacy/audio_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/legacy/audio_hw.c b/audio/legacy/audio_hw.c index 3979441..57c5afe 100644 --- a/audio/legacy/audio_hw.c +++ b/audio/legacy/audio_hw.c @@ -986,7 +986,7 @@ static size_t in_get_buffer_size(const struct audio_stream *stream) static audio_channel_mask_t in_get_channels(const struct audio_stream *stream) { const struct j6_stream_in *in = (const struct j6_stream_in *)(stream); - audio_channel_mask_t channels = audio_channel_out_mask_from_count(in->requested_channels); + audio_channel_mask_t channels = audio_channel_in_mask_from_count(in->requested_channels); ALOGVV("in_get_channels() stream=%p channels=%u", in, in->requested_channels); |