Lee Revell wrote: > On Tue, 2006-06-06 at 17:10 +0100, Ian Malone wrote: (Sorry, this must have gone to the list twice. Thought I'd tripped up with subscription)
>> Hi, >> >> I'm trying to work out how to record from an S/PDIF input >> using a Terratec 7.1 Space (Envy24 based card, supported by >> ICE1724 Alsa driver). It seems that I should be doing >> something like: >> >> $ arecord -D hwplug:0,1 -f cd test.wav >> >> But his doesn't seem to be working. Admittedly I tested >> this in loopback with a cable between SPDIF in and out, I've now got a DAB radio plugged in rather than the loopback. Recording line-in works, as does recording spdif in Windows. >> the equivalent "arecord -D hwplug:0,1" and IEC958 output >> unmuted. I'll have a go in a while with a different SPDIF >> source, although my previous attempts didn't get very far: >> <https://www.redhat.com/archives/fedora-list/2006-June/msg00236.html> > > Use "arecord -D iec958" (it should do the same thing but it's more > readable). > I get "arecord: set_params:901: Sample format non available" unless I do -D plug:iec958 or add -f S32_LE to the command line. > Try it with "-f dat" rather than "-f cd". > > What exactly do you mean by 'it does not work'? That could mean > anything - silence, noise, machine crashes, blows up, etc? > Except for the cases when it complains about "format non available" it appears to record, but the resulting .wav contains only silence (checked in audacity, shows a flat line). Happens for -f dat, cd, S32_LE, -D hw:0,1, plughw:0,1, iec958, spdif. I can boot into Windows without doing anything to the hardware and successfully record. -- imalone _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user