Definition of frame

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux