On Wed, Aug 29, 2007 at 03:20:03PM +0300, Paul Irofti wrote: > On Wed, Aug 29, 2007 at 12:06:03PM +0000, Jacob Meuser wrote: > > On Wed, Aug 29, 2007 at 02:33:31PM +0300, Paul Irofti wrote: > > > On Wed, Aug 29, 2007 at 10:36:03AM +0300, Paul Irofti wrote: > > > > At work I have an Intel AC97 soundcard at 48000. Now the drivers won't > > > > permit it to do hardware 44100 conversion, so I used sdl for that. Since > > > > the latest update (1.2.9p7-sun) the conversion fails. > > > > the "slow" 44100 -> 48000 conversion is disabled in the SDL-1.2.9 source > > as distributed, and in the 1.2.x CVS of SDL. > > > > Okay. > > [--snip--] > > > But I get the following in /var/log/messages: > > > ``Aug 29 09:51:02 paulirofti /bsd: auich0: measured ac97 link rate at > > > 47976 Hz, will use 48000 Hz'' > > > > this has nothing to do with mplayer/sdl/anything outside > > sys/dev/pci/auich.c. > > Okay. > > > > > > I'm using the mplayer-1.0pre8p14-sdl package. > > > > > > > you tell mplayer to output at 44100, it does it. what is the problem? > > > > That it doesn't. After the latest snapshots and ``pkg_add -iu'' the > audio is played, again, at a faster rate than normal. Before the update > I managed to fix this with the sdl-mplayer config. Now that doesn't work > either. >
mplayer is outputting at 44100, and your card is consuming at 48000: it is playing too fast. change your .mplayer/config to just: srate 48000 don't use SDL's resampling on top of mplayer's resampling abilities. -- [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org