Using GCC for "real-time" compilation in audio engine development

Torgeir Strand Henriksen torgshen@stud.iet.hist.no
Wed Dec 4 12:27:00 GMT 2002


Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> Even this does look like a pile of modules, whose input parameters can
> be specified through some nice frontend...

Yes, to the user they will look like modules (and have a nice
interface), but not treated as such internally, because...

> If you've got to add two streams, you'll call
> some function to do this. The only real overhead plugins take with
them
> is the time you need during linking them.

...there is also overhead in calling a function. It's small, but for,
say hundred functions, it would add up to a lot if each of them was
called 48000 times per second (block based processing wouldn't work with
feedback loops). A complex structure running at 48 kHz sampling
frequency could easily reach such numbers, or higher.

Best regards
Torgeir
-- 
Torgeir Strand Henriksen <torgshen@stud.iet.hist.no>



More information about the Gcc mailing list