Skip to main content

assert_no_nans

Function assert_no_nans 

Source
pub fn assert_no_nans<P: PluginExport>(result: &DriverResult<P>)
Expand description

Assert no sample is NaN or infinite. If this fails, the DSP went divergent.

ยงPanics

Panics on the first non-finite sample, naming the channel, frame index, and time offset.