1
0
Fork 0

Fix typos in productive cod

This commit is contained in:
Simon Leiner 2022-09-29 12:34:19 +02:00 committed by Robbert van der Helm
parent 67808fd9ae
commit 2402eada05
3 changed files with 8 additions and 8 deletions

View file

@ -445,7 +445,7 @@ impl<P: ClapPlugin> Wrapper<P> {
param_map.len(), param_map.len(),
param_ids.len(), param_ids.len(),
"The plugin has duplicate parameter IDs, weird things may happen. Consider using \ "The plugin has duplicate parameter IDs, weird things may happen. Consider using \
6 character parameter IDs to avoid collissions." 6 character parameter IDs to avoid collisions."
); );
let poly_mod_ids: HashSet<u32> = poly_mod_ids_by_hash.values().copied().collect(); let poly_mod_ids: HashSet<u32> = poly_mod_ids_by_hash.values().copied().collect();
@ -886,7 +886,7 @@ impl<P: ClapPlugin> Wrapper<P> {
let sample_rate = self.current_buffer_config.load().map(|c| c.sample_rate); let sample_rate = self.current_buffer_config.load().map(|c| c.sample_rate);
let mut parameter_values_changed = false; let mut parameter_values_changed = false;
while let Some(change) = self.output_parameter_events.pop() { while let Some(change) = self.output_parameter_events.pop() {
let push_succesful = match change { let push_successful = match change {
OutputParamEvent::BeginGesture { param_hash } => { OutputParamEvent::BeginGesture { param_hash } => {
let event = clap_event_param_gesture { let event = clap_event_param_gesture {
header: clap_event_header { header: clap_event_header {
@ -947,7 +947,7 @@ impl<P: ClapPlugin> Wrapper<P> {
} }
}; };
nih_debug_assert!(push_succesful); nih_debug_assert!(push_successful);
} }
// Allow the editor to react to the new parameter values if the editor uses a reactive data // Allow the editor to react to the new parameter values if the editor uses a reactive data

View file

@ -147,7 +147,7 @@ impl<P: Plugin, B: Backend> Wrapper<P, B> {
param_map.len(), param_map.len(),
param_ids.len(), param_ids.len(),
"The plugin has duplicate parameter IDs, weird things may happen. Consider using \ "The plugin has duplicate parameter IDs, weird things may happen. Consider using \
6 character parameter IDs to avoid collissions.." 6 character parameter IDs to avoid collisions."
); );
let mut bypass_param_exists = false; let mut bypass_param_exists = false;
@ -325,13 +325,13 @@ impl<P: Plugin, B: Backend> Wrapper<P, B> {
return false; return false;
} }
let push_succesful = self let push_successful = self
.unprocessed_param_changes .unprocessed_param_changes
.push((param, normalized)) .push((param, normalized))
.is_ok(); .is_ok();
nih_debug_assert!(push_succesful, "The parameter change queue was full"); nih_debug_assert!(push_successful, "The parameter change queue was full");
push_succesful push_successful
} }
/// The DPI scale factor for this standalone application /// The DPI scale factor for this standalone application

View file

@ -220,7 +220,7 @@ impl<P: Vst3Plugin> WrapperInner<P> {
param_map.len(), param_map.len(),
param_ids.len(), param_ids.len(),
"The plugin has duplicate parameter IDs, weird things may happen. Consider using \ "The plugin has duplicate parameter IDs, weird things may happen. Consider using \
6 character parameter IDs to avoid collissions.." 6 character parameter IDs to avoid collisions."
); );
let mut bypass_param_exists = false; let mut bypass_param_exists = false;