Re: [Alsa-user] sb16 can't play 48kHz sounds?
Brought to you by:
perex
From: Gilles <dja...@wa...> - 2003-04-11 19:32:26
|
Le Mercredi 9 Avril 2003 23:40, Julien Patrick Claassen a =E9crit : > Hi! > I think you have to use the alsaplugin devices. I don't know how > they exactly work with aplay though. They do automatic conversion and > such things. An sb16 does only support up to 44100 Hz, so 48kHz ist a > problem. If this doesn't work, then I'm clueless. If you don't know, > how to use those pluin-devices either, you might try ecasound > http://www.eca.cx/ecasound > It runs perfectly with alsa and with: > ecasound f:16,2,44800 -i file.wav -o alsaplugin,0,0 > You should get it played, if it works at all. > I hope this can be of help. > Kindest regards > Julien Thanks for the hint. With a little help from the archive I've managed to=20 find a way to resample the sounds to 44.1kHz. In my .asoundrc file : pcm.!default { type plug slave { pcm "hw:0,0" rate 44100 } } It overrides the default PCM device parameters. Now I can play 48kHz sounds with aplay or xmms. MPlayer seems to ignore=20 it, I can resample with the -af switch. Thanks again ! Gilles |