[MPlayer-dev-eng] [PATCH] fix for ao_alsa9 and surround

gabor gabor at realtime.sk
Thu Dec 5 03:09:14 CET 2002


On Sun, 2002-12-01 at 17:34, Tom Lees wrote:
> OK, I think I found why the alsa9 driver was breaking surround sound.
> ALSA returns the buffer size in _frames_, not bytes, so multiplying by
> bytes_per_sample is needed.
> 
> -ao alsa9:surround51 -channels 6 and -ao alsa9:surround40 -channels 4
> work fine with this now on my Audigy, 

ok, i tried it after it got committed....

it works fine in 4speaker mode ( alsa9rc6 , kernel 2.4.20, sb-live )
with -ao alsa9:surround40 -channels 4...


> EXCEPT that (at least in 5.1 mode)
> whenever you seek in the file, the channel mappings seem to get messed
> up (eg center in left speaker etc). I'm not sure whether this is an ALSA
> bug or some other weirdness going on.

could you describe this problem more, so i can test it?


gabor

-- 
gpg key at www.keyserver.net




More information about the MPlayer-dev-eng mailing list