pub(super) struct BackgroundAudioPlan {
pub base_seconds: f64,
pub seek_to: Option<f64>,
}Expand description
How a background-audio handoff must start playback, given where its audio actually begins.
TRACES: UR-040, UR-071 | DR-180 | UT-181
Fields§
§base_seconds: f64The position the stream’s own zero corresponds to, recorded as the handoff base so later readings can be shifted back to the episode’s timeline.
seek_to: Option<f64>Where to seek after loading, if the source does not already start there.
Auto Trait Implementations§
impl Freeze for BackgroundAudioPlan
impl RefUnwindSafe for BackgroundAudioPlan
impl Send for BackgroundAudioPlan
impl Sync for BackgroundAudioPlan
impl Unpin for BackgroundAudioPlan
impl UnsafeUnpin for BackgroundAudioPlan
impl UnwindSafe for BackgroundAudioPlan
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