#[repr(transparent)]pub struct SoundFormat(pub u8);
Expand description
FLV SoundFormat
Denotes the type of the underlying data packet.
Defined by:
- Legacy FLV spec, Annex E.4.2.1
Tuple Fields§
§0: u8
Implementations§
Source§impl SoundFormat
impl SoundFormat
Sourcepub const LinearPcmPlatformEndian: Self
pub const LinearPcmPlatformEndian: Self
Linear PCM, platform endian
Sourcepub const LinearPcmLittleEndian: Self
pub const LinearPcmLittleEndian: Self
Linear PCM, little endian
Sourcepub const Nellymoser16KhzMono: Self
pub const Nellymoser16KhzMono: Self
Nellymoser 16Khz Mono
Sourcepub const Nellymoser8KhzMono: Self
pub const Nellymoser8KhzMono: Self
Nellymoser 8Khz Mono
Sourcepub const Nellymoser: Self
pub const Nellymoser: Self
Nellymoser
Sourcepub const ExHeader: Self
pub const ExHeader: Self
The ExAudioTagHeader
is present
Defined by: Enhanced RTMP v2 (Enhanced Audio section)
Sourcepub const DeviceSpecificSound: Self
pub const DeviceSpecificSound: Self
Device specific sound
Trait Implementations§
Source§impl Clone for SoundFormat
impl Clone for SoundFormat
Source§fn clone(&self) -> SoundFormat
fn clone(&self) -> SoundFormat
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 moreSource§impl Debug for SoundFormat
impl Debug for SoundFormat
Source§impl From<SoundFormat> for u8
impl From<SoundFormat> for u8
Source§fn from(value: SoundFormat) -> Self
fn from(value: SoundFormat) -> Self
Converts to this type from the input type.
Source§impl From<u8> for SoundFormat
impl From<u8> for SoundFormat
Source§impl Hash for SoundFormat
impl Hash for SoundFormat
Source§impl Ord for SoundFormat
impl Ord for SoundFormat
Source§fn cmp(&self, other: &SoundFormat) -> Ordering
fn cmp(&self, other: &SoundFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SoundFormat
impl PartialEq for SoundFormat
Source§impl PartialOrd for SoundFormat
impl PartialOrd for SoundFormat
impl Copy for SoundFormat
impl Eq for SoundFormat
impl StructuralPartialEq for SoundFormat
Auto Trait Implementations§
impl Freeze for SoundFormat
impl RefUnwindSafe for SoundFormat
impl Send for SoundFormat
impl Sync for SoundFormat
impl Unpin for SoundFormat
impl UnwindSafe for SoundFormat
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