diff --git a/src/event_loop.rs b/src/event_loop.rs index b48035aa..647acab8 100644 --- a/src/event_loop.rs +++ b/src/event_loop.rs @@ -21,7 +21,7 @@ pub(crate) use self::windows::WindowsEventLoop as OsEventLoop; pub(crate) const TASK_QUEUE_CAPACITY: usize = 512; /// A trait describing the functionality of the platform-specific event loop that can execute tasks -/// of type `T` in executor `E`. Posting a task to the internal task queue should be realtime safe. +/// of type `T` in executor `E`. Posting a task to the internal task queue should be realtime-safe. /// This event loop should be created during the wrapper's initial initialization on the main /// thread. /// diff --git a/src/lib.rs b/src/lib.rs index a031acc9..119e5d7e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -48,7 +48,7 @@ //! 4. The [`Plugin::reset()`][prelude::Plugin::reset()] function is always called immediately //! after `initialize()`. This is where you should clear out coefficients, envelopes, phases, //! and other runtime data. The reason for this split is that this function may be called at -//! any time by the host from the audio thread, and it thus needs to be realtime safe. +//! any time by the host from the audio thread, and it thus needs to be realtime-safe. //! //! Whenever a preset is loaded, both of these functions will be called again. //! 5. After that the [`Plugin::process()`][prelude::Plugin::process()] function will be called diff --git a/src/wrapper/clap/wrapper.rs b/src/wrapper/clap/wrapper.rs index fbec9b5a..3825beec 100644 --- a/src/wrapper/clap/wrapper.rs +++ b/src/wrapper/clap/wrapper.rs @@ -264,7 +264,7 @@ pub struct Wrapper { } /// Tasks that can be sent from the plugin to be executed on the main thread in a non-blocking -/// realtime safe way. Instead of using a random thread or the OS' event loop like in the Linux +/// realtime-safe way. Instead of using a random thread or the OS' event loop like in the Linux /// implementation, this uses [`clap_host::request_callback()`] instead. #[derive(Debug)] pub enum Task { @@ -2244,7 +2244,7 @@ impl Wrapper

{ let bus_config = wrapper.current_bus_config.load(); let buffer_config = wrapper.current_buffer_config.load().unwrap(); let mut plugin = wrapper.plugin.write(); - // FIXME: This is obviously not realtime safe, but loading presets without doing + // FIXME: This is obviously not realtime-safe, but loading presets without doing // this could lead to inconsistencies. It's the plugin's responsibility to // not perform any realtime-unsafe work when the initialize function is // called a second time if it supports runtime preset loading. diff --git a/src/wrapper/standalone/wrapper.rs b/src/wrapper/standalone/wrapper.rs index 3421d0c8..9484504e 100644 --- a/src/wrapper/standalone/wrapper.rs +++ b/src/wrapper/standalone/wrapper.rs @@ -456,7 +456,7 @@ impl Wrapper { self.notify_param_values_changed(); - // FIXME: This is obviously not realtime safe, but loading presets without + // FIXME: This is obviously not realtime-safe, but loading presets without // doing this could lead to inconsistencies. It's the plugin's // responsibility to not perform any realtime-unsafe work when the // initialize function is called a second time if it supports diff --git a/src/wrapper/vst3/inner.rs b/src/wrapper/vst3/inner.rs index ca44cebb..15161232 100644 --- a/src/wrapper/vst3/inner.rs +++ b/src/wrapper/vst3/inner.rs @@ -145,7 +145,7 @@ pub(crate) struct WrapperInner { } /// Tasks that can be sent from the plugin to be executed on the main thread in a non-blocking -/// realtime safe way (either a random thread or `IRunLoop` on Linux, the OS' message loop on +/// realtime-safe way (either a random thread or `IRunLoop` on Linux, the OS' message loop on /// Windows and macOS). #[derive(Debug, Clone)] pub enum Task { diff --git a/src/wrapper/vst3/wrapper.rs b/src/wrapper/vst3/wrapper.rs index 5d81aca8..35acca7a 100644 --- a/src/wrapper/vst3/wrapper.rs +++ b/src/wrapper/vst3/wrapper.rs @@ -1785,7 +1785,7 @@ impl IAudioProcessor for Wrapper

{ let bus_config = self.inner.current_bus_config.load(); let buffer_config = self.inner.current_buffer_config.load().unwrap(); let mut plugin = self.inner.plugin.write(); - // FIXME: This is obviously not realtime safe, but loading presets without doing + // FIXME: This is obviously not realtime-safe, but loading presets without doing // this could lead to inconsistencies. It's the plugin's responsibility to // not perform any realtime-unsafe work when the initialize function is // called a second time if it supports runtime preset loading.