#[repr(C)]pub struct moq_audio_config {
pub name: *const c_char,
pub name_len: usize,
pub codec: *const c_char,
pub codec_len: usize,
pub description: *const u8,
pub description_len: usize,
pub sample_rate: u32,
pub channel_count: u32,
}Expand description
Information about an audio rendition in the catalog.
Fields§
§name: *const c_charThe name of the track, NOT NULL terminated
name_len: usize§codec: *const c_charThe codec of the track, NOT NULL terminated
codec_len: usize§description: *const u8The description of the track, or NULL if not used.
description_len: usize§sample_rate: u32The sample rate of the track in Hz
channel_count: u32The number of channels in the track
Auto Trait Implementations§
impl Freeze for moq_audio_config
impl RefUnwindSafe for moq_audio_config
impl !Send for moq_audio_config
impl !Sync for moq_audio_config
impl Unpin for moq_audio_config
impl UnwindSafe for moq_audio_config
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more