On 6/2/06, Ian Malone <ibmalone@xxxxxxxxx> wrote:
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). I simply can't work it out. Under Windows it's necessary to use the Terratec control panel to select S/PDIF as the recording source (rather than the analogue mixer/sources). What I think I should do under Linux is something like: $ arecord -f dat test.wav -Dhw:0,1 This gives: Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo arecord: set_params:901: Sample format non available
$ arecord -l **** List of CAPTURE Hardware Devices **** card 0: T71Space [Terratec Aureon 7.1-Space], device 0: ICE1724 [ICE1724] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: T71Space [Terratec Aureon 7.1-Space], device 1: IEC1724 IEC958 [IEC1724 IEC958] Subdevices: 1/1 Subdevice #0: subdevice #0
Okay, so far I've got $ arecord -f dat test.wav -Dplughw:0,1 The plughw being necessary (AFAICT) to do some alsa magic that converts the driver's native S32_LE to whatever dat/cd et al use (S16_LE?). However, while it appears to record, this just captures silence, though the equivalent -Dplughw:0,0 does successfully record from linein. (I've also subscribed to alsa-user to discuss this, but my posts don't seem to be going through there for some reason) -- imalone