avplay: use libavresample for sample format conversion and channel mixing
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 25 Apr 2012 20:46:22 +0000 (16:46 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 1 May 2012 17:38:23 +0000 (13:38 -0400)
commitf1ffb01ee9fd3a15c395c3cf6ff362ac5cd668d0
tree8a2755dc2b61e867cacbebcc8fbff23de7d7443f
parente5b7d7773a07dd80909402939b8f6812cfded903
avplay: use libavresample for sample format conversion and channel mixing

SDL only supports s16 sample format and a limited number of channel layouts.
Some versions of SDL on some systems support 4-channel and 6-channel output,
but it's safer overall to downmix any layout with more than 2 channels to
stereo.
avplay.c