INNER CODE UNIT · Rust

atten_lim

Rikorose/DeepFilterNet · ladspa/src/lib.rs:550

    fn atten_lim(&self, lim: u32) {
        self.tx
            .send((DfControl::AttenLim, lim as f32))
            .expect("Failed to send DfControl");
    }
    fn pf_beta(&self, beta: f32) {
        self.tx.send((DfControl::PfBeta, beta)).expect("Failed to send DfControl");
    }
    fn min_processing_thresh(&self, thresh: i32) {
        self.tx
            .send((DfControl::MinThreshDb, thresh as f32))
            .expect("Failed to send DfControl")
    }
    fn max_erb_thresh(&self, thresh: i32) {
        self.tx
            .send((DfControl::MaxErbThreshDb, thresh as f32))
            .expect("Failed to send DfControl")
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…