Function symphonia_core::util::clamp::clamp_f32

source ยท
pub fn clamp_f32(val: f32) -> f32
Expand description

Clamps the given value to the [-1.0, 1.0] range.