Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Definition of frame
@ 2008-10-29  6:19 Bankim Bhavsar
  0 siblings, 0 replies; only message in thread
From: Bankim Bhavsar @ 2008-10-29  6:19 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-29  6:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-29  6:19 Definition of frame Bankim Bhavsar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox