At Mon, 01 Sep 2003 17:58:15 +0200, Carsten Koch wrote: > > Takashi Iwai wrote: > ... > >>The sound was playing too fast with mpg321. > >>I was using > >> mpg321 -o alsa09 --audiodevice hw:0,1 > >>It seems like mpg321 was playing my 44.1kHz mp3 in 48kHz mode. > > > > > > then try plughw:0,1. > > alsa-lib will convert the sample rate automatically. > > Unfortunately, the sound is playing too fast with plughw:0,1 as well.
please check /proc/asound/card1/pcm0p/sub0/hw_params during playback. if it shows 44100, perhaps spdif configuration doesn't match with the request one. please check the spdif status in /proc/asound/card/ac97#0, too. > Also, I was wrong about alsaplayer playing it at the right speed. > Maybe I had left alsaplayer's speed at ~90% when I last used it. > I started it again now with a new mp3 file to load and it played > that one (and all other 44kHz files I tried from then on) too fast > (both with hw:0,1 and with plughw:0,1). > > One more question: Is there a way to make hw:0,1 or plughw:0,1 the > default? Many programs do not have a --audiodevice parameter or > use the OSS emulation and I would of course still like to hear their > sound. you can overwrite the default pcm in ~/.asoundrc with '!' prefix. for example, pcm.!default "hw:0,1" for OSS emulation, try libaoss wrapper. (hope it still runs :) Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel