Rockbox mail archive
Subject: Queries reagarding Cook Decoder Std
Queries reagarding Cook Decoder Std
I am porting the cook decoder from Rockbox to my hardware. Since my
hardware has no std library support, I am converting all run time
calculations to static predefined tables. while doing so, I happen to
see that basically all the calculation done is based on
samples_per_Frame and which could be (256,512,1024).
So for every table calculation, I am caluclation 3 different tables
for each frame size. Is it alright?
I really couldn't find Real Cook decoder specification (As how many
samples/frame, etc..) anywhere on Internet.
Is it safe to assume that the samples_per_frame can't be anything
other then the mentioned 3. I happen to see that if it is not among
these three, cook_decode_init() will return -1.
Please provide your inputs.
Received on 2010-05-19
Page was last modified "Jan 10 2012" The Rockbox Crew