pub fn from_i24(sample: i32) -> i16
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.
sample
i32