pub fn new() -> Self {
        Self {
            last_ratio: 0.0,
            src_ratio: 0.0,
        }
    }
/// Create a new resampler context.
Create a new resampler context.
Create a new resampler context .
pub fn new() -> Self {
        Self {
            last_ratio: 0.0,
            src_ratio: 0.0,
        }
    }
pub fn new ( ) -> Self { Self { last_ratio : 0.0 , src_ratio : 0.0 , } }
Create a new resampler context.
Create a new resampler context .