Michael Hunold wrote:

> - iec958 5v: on

Not sure if it's for input or output (no difference here).

> - iec958 copyright: off (muted)

Obviously it refers to the "copyright bit", but I don't know when this
one comes into play.

> - iec958 in monitor: on

Seems to route the digital input to the analog output (if "iec958
output" is off).

> - iec958 in phase inverse: off (muted)

You'll here noise if the that one is wrong.

> - iec958 in select: on

Selects one of the two input channels.

> - iec958 in valid: on

Not sure.

> - iec958 loop: off (muted)

If on, it loops the digital input to the output.

> - iec958 mix analog: off (muted)

I don't have this one on my CMI8738-MC6.

> - iec958 output: off (muted)

Decides whether PCM output goes to the SPDIF out or to the analog out.

> (Of course I played around with these values, especially because I don't 
> know what some of them actually mean (for example: in select, in valid, 
> loop and mix analog))
> 
> In theory, I'd like to record the raw iec958 subframes, but using 
> arecord like this fails:
> 
> > arecord -v -D hw:0,2 -f IEC958_SUBFRAME_LE
> arecord: begin_wave:1608: Wave doesn't support IEC958_SUBFRAME_LE format...
> 
> I'm wondering what "wave" is about, since I want to capture the iec958 
> subframes...

% arecord -v -v -D hw:0,2 -f IEC958_SUBFRAME_LE -r 44100 -c 2 -t raw a.raw
Recording raw data 'a.raw' : IEC-958 Little Endian, Rate 44100 Hz, Stereo
arecord: set_params:828: Sample format non available

I have no idea whether this IEC958_SUBFRAME_LE should be available from
my CD-ROM (maybe it's only on DVDs?).

> Using "arecord -v -v -D hw:0,2 -f dat > /tmp/a.wav", however, does not 
> return anything on the device:

Apparently, arecord spits some of its error messages to stdout, so 

  arecord -v -v -D hw:0,2 -f dat /tmp/a.wav

is perhaps better. This works here (alsa-0.9.8, too), but with the
internal SPDIF input. Try toggling the "in select" switch.

Regards...
                Michael


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to