From: "Bankim Bhavsar" <bankim.bhavsar@gmail.com>
To: alsa-devel@alsa-project.org
Subject: Definition of frame
Date: Tue, 28 Oct 2008 23:19:44 -0700 [thread overview]
Message-ID: <4eccebac0810282319w15a5f81asbeee2c27fddcc534@mail.gmail.com> (raw)
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
reply other threads:[~2008-10-29 6:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4eccebac0810282319w15a5f81asbeee2c27fddcc534@mail.gmail.com \
--to=bankim.bhavsar@gmail.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox