1
0
Fork 0

Fix doc comment wording

This commit is contained in:
Robbert van der Helm 2023-03-12 17:07:49 +01:00
parent d380c15f8b
commit 6ee4dbcf67
2 changed files with 4 additions and 3 deletions

View file

@ -146,8 +146,8 @@ pub struct Wrapper<P: ClapPlugin> {
output_events: AtomicRefCell<VecDeque<PluginNoteEvent<P>>>,
/// The last process status returned by the plugin. This is used for tail handling.
last_process_status: AtomicCell<ProcessStatus>,
/// The current latency in samples, as set by the plugin through the [`ProcessContext`]. uses
/// the latency extension
/// The current latency in samples, as set by the plugin through the [`ProcessContext`]. Uses
/// the latency extension.
pub current_latency: AtomicU32,
/// Contains slices for the plugin's outputs. You can't directly create a nested slice from
/// a pointer to pointers, so this needs to be preallocated in the setup call and kept around

View file

@ -79,7 +79,8 @@ pub(crate) struct WrapperInner<P: Vst3Plugin> {
pub current_process_mode: AtomicCell<ProcessMode>,
/// The last process status returned by the plugin. This is used for tail handling.
pub last_process_status: AtomicCell<ProcessStatus>,
/// The current latency in samples, as set by the plugin through the [`ProcessContext`].
/// The current latency in samples, as set by the plugin through the [`InitContext`] and the
/// [`ProcessContext`].
pub current_latency: AtomicU32,
/// Contains slices for the plugin's outputs. You can't directly create a nested slice from
/// a pointer to pointers, so this needs to be preallocated in the setup call and kept around