pub struct AutomationConfig {
pub min_subblock_samples: u32,
}Expand description
Sample-accurate chunking tunables baked into PluginInfo at
compile time. Mirrors truce_build::AutomationConfig (the
derive-time view of the same TOML key) but lives in truce-core
so wrappers can read it without a truce-build dep.
See truce-docs/docs/internal/parameter-dependent-chunking.md.
Fields§
§min_subblock_samples: u32Smallest sub-block size in samples. The chunker only splits
the audio block at split-eligible events whose sample_offset
is at least block_start + min_subblock_samples past the
current sub-block start; closer events are coalesced. Default
32 (set via AutomationConfig::DEFAULT).
Implementations§
Trait Implementations§
Source§impl Clone for AutomationConfig
impl Clone for AutomationConfig
Source§fn clone(&self) -> AutomationConfig
fn clone(&self) -> AutomationConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AutomationConfig
Source§impl Debug for AutomationConfig
impl Debug for AutomationConfig
Source§impl Default for AutomationConfig
impl Default for AutomationConfig
impl Eq for AutomationConfig
Source§impl PartialEq for AutomationConfig
impl PartialEq for AutomationConfig
Source§fn eq(&self, other: &AutomationConfig) -> bool
fn eq(&self, other: &AutomationConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AutomationConfig
Auto Trait Implementations§
impl Freeze for AutomationConfig
impl RefUnwindSafe for AutomationConfig
impl Send for AutomationConfig
impl Sync for AutomationConfig
impl Unpin for AutomationConfig
impl UnsafeUnpin for AutomationConfig
impl UnwindSafe for AutomationConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more