What's the scope of ScopedNoDenormals?

in a project i’ve structured things using the dsp::processor pattern as much as possible. do i need to put a ScopedNoDenormals in every process / processBlock method or just the top-level processBlock call in my processor (which calls all the others)?

The later. It is called “Scoped…” because it turns the processor feature on, as long as it is on the stack. Once it goes out of scope, it turns the feature off to normal (which is after your called functions returned as well).

3 Likes

thanks @daniel