]> git.alsa-project.org Git - alsa-plugins.git/commit
a52: fix reported input channel order
authorTom Yan <tom.ty89@gmail.com>
Tue, 12 Jan 2016 07:57:39 +0000 (15:57 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 12 Jan 2016 08:47:42 +0000 (09:47 +0100)
commitcdff2e32537440bf16329c8440d0d02d7ac02d38
treef75f170cbe9caadb7f84479d7e1515babd2279d2
parent4e98854b590db9fd8faab0fea262277805bc7769
a52: fix reported input channel order

a52 plugin expects the input to be in ALSA order and remaps it to general order when encoding. However it reports that the input it takes should be in general order.

This fix should make programs (e.g. mpv) that is aware of channel layout reported by ALSA remap sources appropriately before sending when necessary.

It should not cause any regression to programs (e.g. mplayer) that does not check the reported channel layout (hence not affected by the issue) and remaps sources anyway.

Signed-off-by: Tom Yan <tom.ty89@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
a52/pcm_a52.c