unopus 0.0.1

libopus transpiled to rust by c2rust
Documentation
1
2
3
4
5
6
7
8
9
10
pub const CELT_SIG_SCALE: f32 = 32768.0f32;

#[inline]
pub fn FLOAT2INT16(x: f32) -> i16 {
    (x * CELT_SIG_SCALE) as i16
}
#[inline]
pub fn float2int(x: f32) -> i32 {
    x as i32
}