summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJookia <166291@gmail.com>2016-11-04 17:10:25 +1100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-01-10 12:00:37 +0100
commite5c6f26e8684a110141b0b798aacb7e88643c5c7 (patch)
tree9a6b21e679ab7c57c16320b00858ce87051b633e
parent524f68ce8f4b8b5f6c69abec5c5f06fa51661ed9 (diff)
downloadhardware_tinyalsa-audio-e5c6f26e8684a110141b0b798aacb7e88643c5c7.zip
hardware_tinyalsa-audio-e5c6f26e8684a110141b0b798aacb7e88643c5c7.tar.gz
hardware_tinyalsa-audio-e5c6f26e8684a110141b0b798aacb7e88643c5c7.tar.bz2
mixer: Replace AUDIO_CHANNEL_OUT_SURROUND with AUDIO_CHANNEL_OUT_QUAD_SIDE
Note: Manually copied from from galaxys2-common's ecc3d13 commit.
-rw-r--r--mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mixer.c b/mixer.c
index f22b96d..a147027 100644
--- a/mixer.c
+++ b/mixer.c
@@ -276,7 +276,7 @@ void tinyalsa_mixer_config_start(void *data, const XML_Char *elem,
config_data->io_props.channel_mask = AUDIO_CHANNEL_OUT_STEREO;
break;
case 4:
- config_data->io_props.channel_mask = AUDIO_CHANNEL_OUT_SURROUND;
+ config_data->io_props.channel_mask = AUDIO_CHANNEL_OUT_QUAD_SIDE;
break;
case 6:
config_data->io_props.channel_mask = AUDIO_CHANNEL_OUT_5POINT1;