[MPlayer-dev-eng] [PATCH] ao_oss fallback to s16ne 2ch for soundcards with only two channels

Ivo ivop at euronet.nl
Tue Feb 22 23:59:56 CET 2005


Hi,

This patch makes ao_oss fall back to s16ne 2ch if it tries to open the 
soundcard for more than two channels and the card doesn't support it. 
Currently this only works for AC3 sound and not for other multi-channel 
audio files. In that case, it drops to u8 2ch which is undesirable.

If nobody complains, I'll apply this weekend.

--Ivo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cvsdiff-u.ao_oss_fix
Type: text/x-diff
Size: 1990 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050222/80dfe0c4/attachment.diff>


More information about the MPlayer-dev-eng mailing list