29 Oct
2008
29 Oct
'08
7:19 a.m.
I want to clarify my understanding regarding the definition of frame in Alsa lingo.
For a "stereo" DAC channel with 16-bit samples, number of bytes per frame = 4 bytes, correct? basically L & R samples each 16 bit, 16 * 2 = 32 bits = 4 bytes.
Reason being alsa-lib APIs use number of frames instead of bytes and I want to make sure I compute right number of frames.
Thanks, Bankim