[MPlayer-users] Seek/pause and AC3 bypass via OSS

Alexander Motin mav at FreeBSD.org
Sat Jan 17 22:40:23 CET 2009


Hi.

Looks like mplayer incorrectly handles seeking when doing AC3 audio
bypass via OSS device. When device initially opened mplayer sets sample
rate (SNDCTL_DSP_SPEED), but on seeking it doesn't. It turns sound into
a garbage after any seeking/pausing.

I have made trivial patch to diagnose the problem. It is test only and
surely not perfect, but it works fine for me and other people on FreeBSD 
8.0 with snd_hda driver.

-- 
Alexander Motin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ao_oss.c.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20090117/d2d2ba64/attachment.txt>


More information about the MPlayer-users mailing list