#[repr(C)]pub struct moq_audio_frame {
pub timestamp_us: u64,
pub data: *const u8,
pub data_size: usize,
}Expand description
One audio frame: payload bytes plus a presentation timestamp.
data is owned by the consume slab (see
moq_consume_audio_raw_frame_free) or borrowed by the publish call
(the publisher copies before returning).
Fields§
§timestamp_us: u64§data: *const u8§data_size: usizeAuto Trait Implementations§
impl Freeze for moq_audio_frame
impl RefUnwindSafe for moq_audio_frame
impl !Send for moq_audio_frame
impl !Sync for moq_audio_frame
impl Unpin for moq_audio_frame
impl UnsafeUnpin for moq_audio_frame
impl UnwindSafe for moq_audio_frame
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