pub struct AudioInfo {
pub duration: Duration,
pub channel_config: Option<ChannelConfig>,
pub sample_rate: Option<SampleRate>,
pub max_bitrate: Option<u32>,
pub avg_bitrate: Option<u32>,
}Expand description
Audio information of an mp4 track.
Fields§
§duration: DurationThe duration of the track.
channel_config: Option<ChannelConfig>The channel configuration of the track.
sample_rate: Option<SampleRate>The sample rate of the track.
max_bitrate: Option<u32>The maximum bitrate of the track.
avg_bitrate: Option<u32>The average bitrate of the track.
Trait Implementations§
impl Eq for AudioInfo
impl StructuralPartialEq for AudioInfo
Auto Trait Implementations§
impl Freeze for AudioInfo
impl RefUnwindSafe for AudioInfo
impl Send for AudioInfo
impl Sync for AudioInfo
impl Unpin for AudioInfo
impl UnwindSafe for AudioInfo
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