Skip to main content

assert_nonzero_after

Function assert_nonzero_after 

Source
pub fn assert_nonzero_after<P: PluginExport>(
    result: &DriverResult<P>,
    t: Duration,
)
Expand description

Assert at least one sample after t is above the audible threshold.

ยงPanics

Panics if every sample after t is at or below AUDIBLE_THRESHOLD.