summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorTorsten Jager <t.jager@gmx.de>2013-08-10 23:21:55 +0200
committerTorsten Jager <t.jager@gmx.de>2013-08-10 23:21:55 +0200
commite5318f7f8fa3c9b6f09fd9d32202a61f86edc1d8 (patch)
treebfa437852d83b1a8c058199e1dc9f494096527a4 /m4
parenta771cb809c8f14057536f28f62930d32c2d4f088 (diff)
downloadxine-lib-e5318f7f8fa3c9b6f09fd9d32202a61f86edc1d8.tar.gz
xine-lib-e5318f7f8fa3c9b6f09fd9d32202a61f86edc1d8.tar.bz2
ff_audio_decoder: fix multichannel playback
* Observe channel configuration immediately after av_decode_audio* (). Do not try to access nonexistant channels after a 5.1 -> 2.0 switch for example. * Add NULL plane pointer paranoia. * Assume generic channel layout when no detailled one provided. Needed for wma2. * Follow user speaker arrangement changes on the fly. * Defer opening audio out until we have something to play. * Do not reopen audio out with identical settings. This and the previous item should help avoiding waiting on some drivers. * Hard wire output to int16_t. Some of the code did assume that, and we are converting to that anyway. * Do not read sample format from bits_per_coded_sample. Decoders neither alter that field, nor do they force its value to their output. * Rename some vars for better readability.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions