Skip to main content

audio_thread_init

Function audio_thread_init 

Source
pub fn audio_thread_init()
Expand description

Initialize floating-point mode for a real-time audio thread.

FTZ (flush-to-zero) and DAZ (denormals-are-zero, where available) are thread-local CPU flags. Set them from the actual callback/playback thread so biquad tails cannot fall into slow subnormal arithmetic.