pub unsafe extern "C" fn obs_fader_set_deflection(
    fader: *mut obs_fader_t,
    def: f32
) -> bool
Expand description

@brief Set the fader value from deflection @param fader pointer to the fader object @param def new deflection @return true if value was set without clamping

This sets the new fader value from the supplied deflection, in case the resulting value was clamped due to limits this function will return false. The deflection is typically in the range [0.0, 1.0] but may be higher in order to provide some amplification. In order for this to work the high dB limit has to be set.