pub struct AudioRenderStatus {
pub start_sample: i64,
pub frames: usize,
pub missing_sources: Vec<SourceId>,
}Expand description
Outcome of mixing one block.
Fields§
§start_sample: i64Sample index of the first mixed sample.
frames: usizeNumber of mixed samples per channel.
missing_sources: Vec<SourceId>Sources an audible clip needed but the provider could not supply.
Those clips contributed silence, and the block was not metered. A host
decodes them and renders the same block again to obtain complete
audio: exactly the uninterrupted mix when the renderer holds
incomplete blocks (AudioRenderer::set_hold_incomplete_blocks), in
which case the whole block was silence and nothing advanced, and
otherwise the mix after a seek to it.
Implementations§
Source§impl AudioRenderStatus
impl AudioRenderStatus
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Returns whether every audible clip was mixed from real samples.
Trait Implementations§
Source§impl Clone for AudioRenderStatus
impl Clone for AudioRenderStatus
Source§impl Debug for AudioRenderStatus
impl Debug for AudioRenderStatus
impl Eq for AudioRenderStatus
Source§impl PartialEq for AudioRenderStatus
impl PartialEq for AudioRenderStatus
impl StructuralPartialEq for AudioRenderStatus
Auto Trait Implementations§
impl Freeze for AudioRenderStatus
impl RefUnwindSafe for AudioRenderStatus
impl Send for AudioRenderStatus
impl Sync for AudioRenderStatus
impl Unpin for AudioRenderStatus
impl UnsafeUnpin for AudioRenderStatus
impl UnwindSafe for AudioRenderStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.