[Vorbis-dev] Urgent Doubt in VORBIS
Michael Smith
msmith at xiph.org
Thu Aug 27 15:04:36 PDT 2009
On Thu, Aug 27, 2009 at 1:12 PM, Sumit Chatterjee<getsumit at gmail.com> wrote:
> Is the decoded pcm size of an encoded stream equal to the raw input sample's
> pcm size? or Are they different?
>
> raw sample(pcm sz1) --> encode --> decode(pcm_sz2)
>
> Is (pcm_sz1 == pcm_sz2) ?
>
> Could Anyone please clarify....
The number of samples will be the same. The size depends on what
format your input and output are - libvorbis natively uses floats, for
both input and output, so they'll be the same - but if you convert to
an integer format, of course, they won't be.
Mike
More information about the Vorbis-dev
mailing list