#[repr(C)]pub struct moq_audio_decoder_output {
pub format: u32,
pub sample_rate: u32,
pub channels: u32,
pub latency_max_ms: u64,
}Expand description
PCM layout the caller wants out of moq_consume_audio_raw.
Fields§
§format: u32§sample_rate: u320 = deliver at the codec’s native sample rate.
channels: u320 = deliver at the codec’s native channel count.
latency_max_ms: u64Upper bound on buffering before skipping a stalled group, in
milliseconds. Same congestion-control knob as
moq_consume_audio_ordered’s max_latency_ms. 0 = skip
aggressively (the moq-mux default); set to your playout
buffer (tens to a few hundred ms) for a softer skip. Named
_max to leave room for a future latency_min_ms
(jitter-buffer floor).
Auto Trait Implementations§
impl Freeze for moq_audio_decoder_output
impl RefUnwindSafe for moq_audio_decoder_output
impl Send for moq_audio_decoder_output
impl Sync for moq_audio_decoder_output
impl Unpin for moq_audio_decoder_output
impl UnsafeUnpin for moq_audio_decoder_output
impl UnwindSafe for moq_audio_decoder_output
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