summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-25 18:34:24 +0100
committerwm4 <wm4@nowhere>2014-11-25 18:34:24 +0100
commit5b69b76609684ee0a18a7e827f3aacd92a9651a9 (patch)
tree3a523f5c8a142f05add2a299858de67a663b93a8
parente1ae936e6bc693b0b957a10b7c6689a6e4d81814 (diff)
downloadmpv-5b69b76609684ee0a18a7e827f3aacd92a9651a9.tar.bz2
mpv-5b69b76609684ee0a18a7e827f3aacd92a9651a9.tar.xz
ao_alsa: fix channel map in pre-channel map API case
Forgotten in commit 5d5f5b09.
-rw-r--r--audio/out/ao_alsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/out/ao_alsa.c b/audio/out/ao_alsa.c
index 795894a4c6..86745c6e80 100644
--- a/audio/out/ao_alsa.c
+++ b/audio/out/ao_alsa.c
@@ -538,6 +538,7 @@ static int init(struct ao *ao)
ao->channels = dev_chmap;
} else {
dev_chmap.num = 0;
+ ao->channels = implied_chmap;
}
int num_channels = ao->channels.num;