Re: [LAD] Libao and usb soundcards

From: Clemens Ladisch <clemens@email-addr-hidden>
Date: Thu Jan 03 2013 - 19:19:44 EET

Muffinman wrote:
> I'm struggling a bit with getting libao to work in C on Debian (Squeeze,
> kernel 2.6.38.5, driver is Alsa). I've got this slightly modified test
> script and it seems to work fine on my internal soundcard (it opens the
> device and plays a test tone). However, when trying to do the same trick
> on an external USB-dac (tried two different models), it gives an
> "Input/output error". I've tried different settings, but as far as I can
> see there is not really that much to set (especially if it plays on one
> soundcard but not the other, dev=hw:1 should suffice).

It's possible that the USB device does not support this sample format.
Try default:1 instead of hw:1.

Regards,
Clemens
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Thu Jan 3 20:15:01 2013

This archive was generated by hypermail 2.1.8 : Thu Jan 03 2013 - 20:15:02 EET