Skip to main content

from_i24

Function from_i24 

Source
pub fn from_i24(sample: i32) -> i16
Expand description

sample of 24 bits, in the low bits of an i32, as one of 16: the bits below are dropped, as a truncating converter does. Out of range, it clamps.