br41ndmg 0.3.0

A polyphase sinc audio resampler with offline and streaming APIs for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub fn validate_cutoff(cutoff: f64) {
    assert!(
        cutoff.is_finite() && cutoff > 0.0 && cutoff <= 0.5,
        "cutoff must be in (0, 0.5]"
    );
}

pub fn validate_cutoff_f32(cutoff: f32) {
    assert!(
        cutoff.is_finite() && cutoff > 0.0 && cutoff <= 0.5,
        "cutoff must be in (0, 0.5]"
    );
}