Function symphonia_core::util::clamp::clamp_i16

source ยท
pub fn clamp_i16(val: i32) -> i16
Expand description

Clamps the given value to the [-32_767, 32_768] range.