Using any version of ALSA from 0.9.2 onward on the VIA 8233A chipset, sound playback through SDL is very poor quality -- sound is being played too fast, and is jittery. Note 1: The problem seems to have started when the snd-via8233 driver (used specifically by this chipset) got merged into the snd-via82xx one (used for all the chipsets of that series). When using ALSA 0.9.0_rc2, which still features the snd-via8233 driver, there is no problem. Note 2: By design, if I remember correctly, the VIA 8233A hardware can only output sound at a given frequency (48,000Hz I think). I gathered that sample rate translation is supposed to be done at driver level. From the sound of it, it is very possible that the sound issues are caused by untranslated (44,100Hz for instance) samples being sent to the hardware. Note 3: Playing the very same sounds with the very same programs using directly either ALSA or ALSA's OSS emulation, works perfectly. The problem happens only when playing sounds using SDL. Reproducible: Always Steps to Reproduce: 1. install alsa-drivers >= 0.9.2 2. install SDL 3. mplayer -ao sdl <anything video with a soundtrack> -- or any other app playing sounds using SDL, like Frozen Bubble or UT 2003. Actual Results: Broken sound playback as described above -- sound too fast and jittery. Expected Results: Good sound playback. emerge info: Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) XP 1600+ GENTOO_MIRRORS="http://mirrors.sunsite.dk/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/ " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 3dnow foomaticdb gnome libg++ mad xml2 tetex bonobo svga ggi tcltk guile libwww perl esd gtk motif aalib acl acpi alsa apm arts avi berkdb cdr crypt cups dga doc dvd encode ethereal flash gdbm gif gphoto2 gpm gps imap imlib innodb java jikes jpeg kde maildir mbox mikmod mmx mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib png python qt quicktime readline samba sasl scanner sdl slang spell sse ssl tcpd tiff truetype usb wmf X xmms xv zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="ccache sandbox userpriv usersandbox" Currently installed versions of libsdl and sdl-mixer are both 1.2.5-r2.
there are a few bugs open, if no one fits, please create one upstream http://sourceforge.net/tracker/index.php?func=detail&aid=465387&group_id=27464&atid=390601 http://sourceforge.net/tracker/index.php?func=detail&aid=497958&group_id=27464&atid=390601 http://sourceforge.net/tracker/index.php?func=detail&aid=530952&group_id=27464&atid=390601 http://sourceforge.net/tracker/index.php?func=detail&aid=538522&group_id=27464&atid=390601 http://sourceforge.net/tracker/index.php?func=detail&aid=576488&group_id=27464&atid=390601 http://sourceforge.net/tracker/index.php?func=detail&aid=647793&group_id=27464&atid=390601