Rockbox mail archiveSubject: Re: dsp.c help needed
Re: dsp.c help needed
From: Ronald Teune <rtwolf_at_gmx.net>
Date: Thu, 07 Jul 2005 15:34:44 +0200
Now you got me even more puzzled about your weird non-codec/non-plugin
What is it that you want to code? (not that I'm curious...)
Have no answer to your question btw, sorry.
On Thu, 07 Jul 2005 15:16:55 +0200, lear_at_algonet.se <lear_at_algonet.se>
> I want to add a processing step in dsp.c, but I must say I find it
> difficult to
> fully understand how it works. A few questions and things I've noticed:
> * Which format are the samples in during processing? I want to multiply
> with a fixed-point number - before clipping - so I need to know the exact
> * Which input sample depths are supported? The code implies 16 and 32
> but it isn't clear from the API.
> * Samples seem to be scaled differently, depending on the stereo format
> scaling is needed).
> * When "rendering" the final samples, the scaling and clipping seems to
> things that aren't needed (unless GCC is smart enough to optimize away
> Perhaps a cleanup would be in order? :)
-- http://www.georgedillon.com/web/html_email_is_evil.shtml _ ASCII ribbon campaign ( ) - against HTML email X & .doc attachments / \ _______________________________________________ http://cool.haxx.se/mailman/listinfo/rockboxReceived on 2005-07-07