pub enum ExtensionData {
Nodata,
AdpcmMs(AdpcmMsData),
AdpcmIma(AdpcmImaData),
Mp3(Mp3Data),
Vorbis(VorbisHeaderData),
OggVorbis(OggVorbisData),
OggVorbisWithHeader(OggVorbisWithHeaderData),
Extensible(ExtensibleData),
}
Expand description
- Extension block data
Variants§
Nodata
- If the extension block size is zero, here we have
Nodata
for it.
AdpcmMs(AdpcmMsData)
- ADPCM-MS specified extension data. Anyway, the decoder can generate the data if the format is ADPCM-MS and there’s no data for it.
AdpcmIma(AdpcmImaData)
- ADPCM-IMA specified extension data. Kind of useless.
Mp3(Mp3Data)
- MP3 specified extension data.
Vorbis(VorbisHeaderData)
- Naked Vorbis header data
OggVorbis(OggVorbisData)
- OggVorbis specified extension data.
OggVorbisWithHeader(OggVorbisWithHeaderData)
- Another OggVorbis specified extension data.
Extensible(ExtensibleData)
- Extensible data, it has channel mask, GUID for formats, etc, dedicated for multi-channel PCM format.
Trait Implementations§
Source§impl Clone for ExtensionData
impl Clone for ExtensionData
Source§fn clone(&self) -> ExtensionData
fn clone(&self) -> ExtensionData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ExtensionData
impl RefUnwindSafe for ExtensionData
impl Send for ExtensionData
impl Sync for ExtensionData
impl Unpin for ExtensionData
impl UnwindSafe for ExtensionData
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