Re: [Alsa-user] S/PDIF Capture Details

2012-06-14 Thread Paul Braman
Clemens Ladish wrote: > > PCM streams are marked with the "valid" bit. From what I understand, I just don't have access to that flag so my best guess is still just a guess. It's all just a matter of capturing the PCM stream and then looking through it for the repeated sequence that is defined for

Re: [Alsa-user] S/PDIF Capture Details

2012-06-13 Thread Clemens Ladisch
Paul Braman wrote: > I'm writing a program to open an ALSA device (USB S/PDIF) and capture > the bitstream. Aside from having to tackle the bits about deciding > whether the stream is PCM versus something else, PCM streams are marked with the "valid" bit. > So, assuming I can find the card and op

[Alsa-user] S/PDIF Capture Details

2012-06-12 Thread Paul Braman
I'm writing a program to open an ALSA device (USB S/PDIF) and capture the bitstream. Aside from having to tackle the bits about deciding whether the stream is PCM versus something else, I first have to figure out how to *properly* open the device for capture. Unfortunately, what programs I've seen