[][src]Function gaborator_sys::forget_before

pub fn forget_before(
    b: &Analyzer,
    c: Pin<&mut Coefs>,
    limit: i64,
    clean_cut: bool
)

Allow the coefficients for points in time before limit (a time in units of samples) to be forgotten. Streaming applications can use this to free memory used by coefficients that are no longer needed. Coefficients that have been forgotten will read as zero. This does not guarantee that all coefficients before limit are forgotten, only that ones for limit or later are not, and that the amount of memory consumed by any remaining coefficients before limit is bounded.