USB Audio ref design: bits per sample
Posted: Mon Nov 28, 2011 11:18 pm
I apologize in advance if this is obvious, as I'm working a little out of my element here :roll:
I've been digging through the ref design code, trying to find some indication of how many bits per sample are being sent in the USB audio stream. I can see (for example) where the sample rate gets set... but nothing about bits/sample. It almost looks like the driver is always sending the same size packets, and I2S is always 32 bits/frame, so maybe the HW doesn't even need to know?
I'd like to know this so I can display the current sample rate and bits/sample (16 or 24) on a UI.
TIA,
Pete
I've been digging through the ref design code, trying to find some indication of how many bits per sample are being sent in the USB audio stream. I can see (for example) where the sample rate gets set... but nothing about bits/sample. It almost looks like the driver is always sending the same size packets, and I2S is always 32 bits/frame, so maybe the HW doesn't even need to know?
I'd like to know this so I can display the current sample rate and bits/sample (16 or 24) on a UI.
TIA,
Pete