[linux-audio-user] some apps don't work with usb-audio
Clemens Ladisch
clemens at ladisch.de
Tue Mar 14 03:23:50 EST 2006
Martin Kuball wrote:
> I have a Griffin iMic USB audio device. It works well using aplay and
> xmms with the usb device I configured in my asoundrc.
>
> But I cannot get ogg123 to work with this. E.g.
>
> ogg123 -d alsa09 -o dev:usb tr30.ogg
>
> ALSA snd_pcm_hw_params_set_format error: the argument is invalid
You configured your "usb" device so that it doesn't do any automatic
sample format conversion. Add a "plug" plugin, like this:
pcm.usb {
type plug
slave.pcm {
type hw
card 42 # or whatever the card number is ...
device 0
}
}
HTH
Clemens
More information about the Linux-audio-user
mailing list