1
0
Fork 0
This commit is contained in:
Robbert van der Helm 2022-03-01 00:06:22 +01:00
parent ae212962a3
commit 08d63f0e73

View file

@ -112,7 +112,7 @@ impl<'a> ParamSetter<'a> {
/// Set a parameter to an already normalized value. Works exactly the same as /// Set a parameter to an already normalized value. Works exactly the same as
/// [Self::set_parameter] and needs to follow the same rules, but this may be useful when /// [Self::set_parameter] and needs to follow the same rules, but this may be useful when
/// implementigna a GUI. /// implementing a GUI.
pub fn set_parameter_normalized<P: Param>(&self, param: &P, normalized: f32) { pub fn set_parameter_normalized<P: Param>(&self, param: &P, normalized: f32) {
let ptr = param.as_ptr(); let ptr = param.as_ptr();
unsafe { self.context.raw_set_parameter_normalized(ptr, normalized) }; unsafe { self.context.raw_set_parameter_normalized(ptr, normalized) };