pub struct AudioData {
pub sound_rate: SoundRate,
pub sound_size: SoundSize,
pub sound_type: SoundType,
pub body: AudioDataBody,
}Expand description
FLV Tag Audio Data
This is the container for the audio data.
Defined by:
- video_file_format_spec_v10.pdf (Chapter 1 - The FLV File Format - Audio tags)
- video_file_format_spec_v10_1.pdf (Annex E.4.2.1 - AUDIODATA)
Fields§
§sound_rate: SoundRateThe sound rate of the audio data. (2 bits)
sound_size: SoundSizeThe sound size of the audio data. (1 bit)
sound_type: SoundTypeThe sound type of the audio data. (1 bit)
body: AudioDataBodyThe body of the audio data.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AudioData
Auto Trait Implementations§
impl !Freeze for AudioData
impl RefUnwindSafe for AudioData
impl Send for AudioData
impl Sync for AudioData
impl Unpin for AudioData
impl UnwindSafe for AudioData
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