pub struct AudioEffectLoad {
pub effects: usize,
pub effects_at_ticks: i64,
pub delay_ticks: u64,
pub delay_at_ticks: i64,
}Expand description
The most audio effect state a project holds at once.
The master’s and every track’s effects hold state throughout. A clip’s effects hold state
from crate::AUDIO_EFFECT_STATE_MARGIN_MS plus its track’s and its own lookahead before
its start (clamped at zero) to its end, both ends inclusive, so a clip ending where
another starts overlaps it. A clip with pitch-preserving stretched audio
(crate::Clip::stretches_audio) counts one effect more.
Fields§
§effects: usizeThe most effects holding state at once.
effects_at_ticks: i64The earliest timeline position, in ticks, at which effects hold state.
delay_ticks: u64The most delay held at once, in ticks (120 per millisecond), summed from each effect’s
AudioEffect::delay_ticks.
delay_at_ticks: i64The earliest timeline position, in ticks, at which delay_ticks is held.
Implementations§
Source§impl AudioEffectLoad
impl AudioEffectLoad
Sourcepub fn delay_ms(&self) -> u64
pub fn delay_ms(&self) -> u64
Self::delay_ticks in milliseconds, rounded up.