oa::audio::EncodedAudioPacket

One encoded elementary-stream packet with frame-domain timing.

StRust public API

Declaration

pub struct EncodedAudioPacket { pub bitstream: Vec<u8>, pub presentation_frame: i64, pub duration_frames: u32, }
Public Rust declaration.

Public Methods

fn clone(&self) -> EncodedAudioPacket
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &EncodedAudioPacket) -> bool

Public Data Members

bitstreamVec<u8>field
presentation_framei64field
duration_framesu32field

Public Method Documentation

fn clone( &self ) -> EncodedAudioPacket
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &EncodedAudioPacket ) -> bool
No public source comment is attached to this declaration.