Rockbox mail archiveSubject: Re: sample_pf_pc in Cook Decoder?
Re: sample_pf_pc in Cook Decoder?
From: vikas gupta <vikas.iet_at_gmail.com>
Date: Tue, 22 Jun 2010 14:22:44 -0700
On Tue, Jun 22, 2010 at 1:11 PM, Mohamed Tarek <mtarek16_at_gmail.com> wrote:
> No, this is not that.
> In my example, samples per channel actually is the same as samples_pf_pc,
> this is just the second value in cook's extradata.
> so samples_pf_pc = 1024.
/* 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()?
Received on 2010-06-22