[alsa-devel] IEC958 / SPDIF raw capture

Jaroslav Kysela perex at perex.cz
Fri Feb 12 08:03:43 CET 2010

On Fri, 12 Feb 2010, Donald Tournier wrote:

> Thanks Clemens, that very helpful. We'll try to source one of these
> C-Media cards as soon as possible.
> Also nice to know about the "hw:x" trick, although I'm not too sure
> how to use that in practice. I've just tried this command, with no
> success:
> $ arecord -D hw:x -t raw output.raw
> ALSA lib pcm_hw.c:1435:(_snd_pcm_hw_open) Invalid value for card
> arecord: main:608: audio open error: No such device
> How exactly should this be used?

Note that 'x' means card number or name. Just use 0 if you have only one 
card in system or use 'arecord -l' to list cards.


Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

More information about the Alsa-devel mailing list