#[repr(u8)]pub enum AudioPacketType {
SequenceStart = 0,
CodedFrames = 1,
SequenceEnd = 2,
MultichannelConfig = 4,
Multitrack = 5,
ModEx = 7,
}Expand description
Enhanced audio packet type (lower 4 bits when SoundFormat=ExHeader).
Variants§
SequenceStart = 0
Sequence header (codec configuration)
CodedFrames = 1
Coded audio frames
SequenceEnd = 2
End of sequence
MultichannelConfig = 4
Multichannel configuration
Multitrack = 5
Multitrack audio
ModEx = 7
ModEx signal (extensions follow)
Implementations§
Trait Implementations§
Source§impl Clone for AudioPacketType
impl Clone for AudioPacketType
Source§fn clone(&self) -> AudioPacketType
fn clone(&self) -> AudioPacketType
Returns a duplicate 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 moreSource§impl Debug for AudioPacketType
impl Debug for AudioPacketType
Source§impl PartialEq for AudioPacketType
impl PartialEq for AudioPacketType
impl Copy for AudioPacketType
impl Eq for AudioPacketType
impl StructuralPartialEq for AudioPacketType
Auto Trait Implementations§
impl Freeze for AudioPacketType
impl RefUnwindSafe for AudioPacketType
impl Send for AudioPacketType
impl Sync for AudioPacketType
impl Unpin for AudioPacketType
impl UnwindSafe for AudioPacketType
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