Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: sample_pf_pc in Cook Decoder?

Re: sample_pf_pc in Cook Decoder?

From: Mohamed Tarek <mtarek16_at_gmail.com>
Date: Wed, 23 Jun 2010 00:42:32 +0300

On Wed, Jun 23, 2010 at 12:22 AM, vikas gupta <vikas.iet_at_gmail.com> wrote:

>
> /* cook extradata */
> q->cookversion = rmctx->cook_version;
> q->samples_per_frame = rmctx->samples_pf_pc;
> q->samples_per_channel = q->samples_per_frame / q->nb_channels;
>
> Can you please check cook_decode_init()?
>

Yeah I mixed up between the two. It seems the naming was unfortunate but
this is an old revision anyway.
So you're right :
samples_pf_pc would contain 2K
datasize for a successfully decoded frame would be 8K (4bytes * 2K)

-- 
MT
Received on 2010-06-22

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa