Struct rrise::AkSegmentInfo
source · [−]#[repr(C)]pub struct AkSegmentInfo {
pub iCurrentPosition: AkTimeMs,
pub iPreEntryDuration: AkTimeMs,
pub iActiveDuration: AkTimeMs,
pub iPostExitDuration: AkTimeMs,
pub iRemainingLookAheadTime: AkTimeMs,
pub fBeatDuration: AkReal32,
pub fBarDuration: AkReal32,
pub fGridDuration: AkReal32,
pub fGridOffset: AkReal32,
}Expand description
Structure used to query info on active playing segments.
Fields
iCurrentPosition: AkTimeMsCurrent position of the segment, relative to the Entry Cue, in milliseconds. Range is [-iPreEntryDuration, iActiveDuration+iPostExitDuration].
iPreEntryDuration: AkTimeMsDuration of the pre-entry region of the segment, in milliseconds.
iActiveDuration: AkTimeMsDuration of the active region of the segment (between the Entry and Exit Cues), in milliseconds.
iPostExitDuration: AkTimeMsDuration of the post-exit region of the segment, in milliseconds.
iRemainingLookAheadTime: AkTimeMsNumber of milliseconds remaining in the “looking-ahead” state of the segment, when it is silent but streamed tracks are being prefetched.
fBeatDuration: AkReal32Beat Duration in seconds.
fBarDuration: AkReal32Bar Duration in seconds.
fGridDuration: AkReal32Grid duration in seconds.
fGridOffset: AkReal32Grid offset in seconds.
Trait Implementations
sourceimpl Clone for AkSegmentInfo
impl Clone for AkSegmentInfo
sourcefn clone(&self) -> AkSegmentInfo
fn clone(&self) -> AkSegmentInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AkSegmentInfo
impl Debug for AkSegmentInfo
impl Copy for AkSegmentInfo
Auto Trait Implementations
impl RefUnwindSafe for AkSegmentInfo
impl Send for AkSegmentInfo
impl Sync for AkSegmentInfo
impl Unpin for AkSegmentInfo
impl UnwindSafe for AkSegmentInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more