Re: [linux-audio-user] some apps don't work with usb-audio

From: Clemens Ladisch <clemens@email-addr-hidden>
Date: Tue Mar 14 2006 - 10:23:50 EET

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
Received on Tue Mar 14 12:15:05 2006

This archive was generated by hypermail 2.1.8 : Tue Mar 14 2006 - 12:15:05 EET