[CELT-dev] Frame_size?

Gregory Maxwell gmaxwell at gmail.com
Thu Nov 4 11:46:38 PDT 2010


On Thu, Nov 4, 2010 at 2:15 PM, Mike Hooper <mihooper at bellsouth.net> wrote:
> “frame_size = PCM audio in signed 16-bit format (native endian). There must
> be exactly frame_size samples per channel.”
>
>
>
> Sorry for such a simple request, but could you please clarify the definition
> of frame_size when using stereo audio channels? When you say “frame_size
> samples” does this mean that, if my frame_size is defined as 128, there are
> 64 left samples and 64 right samples per frame? Or does this mean 128 left
> samples + 128 right samples per frame? I believe you mean the latter, but
> just wanted to make sure.


The latter. 128 means 128 left plus 128 right. 128 samples per
channel.  The I/O to CELT is all interleaved (as is typical for
audio).



More information about the celt-dev mailing list