[Scummvm-devel] 44.1kHz support

Lionel Ulmer lionel.ulmer at free.fr
Sat Jun 15 07:49:03 CEST 2002


> > If it's an integer-only algorithm, feel free to submit it and we will
> > integrate it.
> 
> why is it so important for you to have an integer-only algo?

Because one of the biggest 'market' for ScummVM is PDAs like the iPAQ or the
Zaurus and they do not have a FPU... So floating point should be prevented
in the code to not penalize these boxes.

> i think the algo i know only uses some fracts, so i could use integers too.

It's best, yes.. Otherwise, be aware that the frequencies are not always
8000, 11025 or 22050 due to the strange encoding used by the .SOU format.

> do you use C or C++ BTW?

C++

                          Lionel

-- 
		 Lionel Ulmer - http://www.bbrox.org/




More information about the Scummvm-devel mailing list