From: Lee Revell <rlrevell@joe-job.com>
To: Carlos Munoz <carlos@kenati.com>
Cc: boku <boku0712@gmail.com>, alsa-devel@lists.sourceforge.net
Subject: Re: Fwd: memory allocate for substream->runtime->dma_area
Date: Thu, 16 Mar 2006 20:17:37 -0500 [thread overview]
Message-ID: <1142558258.9395.34.camel@mindpipe> (raw)
In-Reply-To: <441A06A4.7030100@kenati.com>
On Thu, 2006-03-16 at 16:45 -0800, Carlos Munoz wrote:
> Frame: From the macro bytes_to_frames() I gather that a frame is a
> sample. For example, if the sample size is 16 bits, the frame is also
> 16 bits. That means that for every 2 bytes sent, one frame is sent.
>
It's a sample for each channel. Your example is correct for mono only.
For standard CD format (stereo, 16 bits per sample) a frame is 4 bytes.
Lee
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
next prev parent reply other threads:[~2006-03-17 1:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-15 3:42 memory allocate for substream->runtime->dma_area boku
2006-03-15 3:43 ` boku
2006-03-15 3:54 ` Lee Revell
[not found] ` <715d90900603142003jd1b1d00he8daf7331cc72237@mail.gmail.com>
[not found] ` <1142454177.1671.38.camel@mindpipe>
[not found] ` <715d90900603151909o6bb834efv401392e5239a0435@mail.gmail.com>
[not found] ` <715d90900603152107q30b76a85l4b428167d515ee8c@mail.gmail.com>
2006-03-16 5:21 ` Fwd: " boku
2006-03-17 0:45 ` Carlos Munoz
2006-03-17 1:17 ` Lee Revell [this message]
2006-03-17 3:26 ` boku
2006-03-20 14:54 ` Takashi Iwai
2006-03-15 10:09 ` Takashi Iwai
2006-03-16 12:51 ` boku
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=1142558258.9395.34.camel@mindpipe \
--to=rlrevell@joe-job.com \
--cc=alsa-devel@lists.sourceforge.net \
--cc=boku0712@gmail.com \
--cc=carlos@kenati.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.