Fix typos
This commit is contained in:
parent
64eaf37370
commit
4c5d61057e
|
@ -54,13 +54,13 @@ pub trait Param: Display {
|
||||||
|
|
||||||
/// The same as [`previous_step()`][Self::previous_step()], but for normalized values. This is
|
/// The same as [`previous_step()`][Self::previous_step()], but for normalized values. This is
|
||||||
/// mostly useful for GUI widgets.
|
/// mostly useful for GUI widgets.
|
||||||
fn previous_normaliezd_step(&self, from: f32) -> f32 {
|
fn previous_normalized_step(&self, from: f32) -> f32 {
|
||||||
self.preview_normalized(self.previous_step(self.preview_plain(from)))
|
self.preview_normalized(self.previous_step(self.preview_plain(from)))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The same as [`next_step()`][Self::next_step()], but for normalized values. This is mostly
|
/// The same as [`next_step()`][Self::next_step()], but for normalized values. This is mostly
|
||||||
/// useful for GUI widgets.
|
/// useful for GUI widgets.
|
||||||
fn next_normaliezd_step(&self, from: f32) -> f32 {
|
fn next_normalized_step(&self, from: f32) -> f32 {
|
||||||
self.preview_normalized(self.next_step(self.preview_plain(from)))
|
self.preview_normalized(self.next_step(self.preview_plain(from)))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -149,8 +149,8 @@ impl ParamPtr {
|
||||||
param_ptr_forward!(pub unsafe fn unit(&self) -> &'static str);
|
param_ptr_forward!(pub unsafe fn unit(&self) -> &'static str);
|
||||||
param_ptr_forward!(pub unsafe fn normalized_value(&self) -> f32);
|
param_ptr_forward!(pub unsafe fn normalized_value(&self) -> f32);
|
||||||
param_ptr_forward!(pub unsafe fn step_count(&self) -> Option<usize>);
|
param_ptr_forward!(pub unsafe fn step_count(&self) -> Option<usize>);
|
||||||
param_ptr_forward!(pub unsafe fn previous_normaliezd_step(&self, from: f32) -> f32);
|
param_ptr_forward!(pub unsafe fn previous_normalized_step(&self, from: f32) -> f32);
|
||||||
param_ptr_forward!(pub unsafe fn next_normaliezd_step(&self, from: f32) -> f32);
|
param_ptr_forward!(pub unsafe fn next_normalized_step(&self, from: f32) -> f32);
|
||||||
param_ptr_forward!(pub unsafe fn set_normalized_value(&self, normalized: f32));
|
param_ptr_forward!(pub unsafe fn set_normalized_value(&self, normalized: f32));
|
||||||
param_ptr_forward!(pub unsafe fn update_smoother(&self, sample_rate: f32, reset: bool));
|
param_ptr_forward!(pub unsafe fn update_smoother(&self, sample_rate: f32, reset: bool));
|
||||||
param_ptr_forward!(pub unsafe fn initialize_block_smoother(&mut self, max_block_size: usize));
|
param_ptr_forward!(pub unsafe fn initialize_block_smoother(&mut self, max_block_size: usize));
|
||||||
|
|
Loading…
Reference in a new issue