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
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 open it
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