Enum libpulse_binding::format::Encoding
source · #[repr(C)]
pub enum Encoding {
Any,
PCM,
AC3_IEC61937,
EAC3_IEC61937,
MPEG_IEC61937,
DTS_IEC61937,
MPEG2_AAC_IEC61937,
Invalid,
}Expand description
Represents the type of encoding used in a stream or accepted by a sink.
Variants
Any
Any encoding format, PCM or compressed.
PCM
Any PCM format.
AC3_IEC61937
AC3 data encapsulated in IEC 61937 header/padding.
EAC3_IEC61937
EAC3 data encapsulated in IEC 61937 header/padding.
MPEG_IEC61937
MPEG-1 or MPEG-2 (Part 3, not AAC) data encapsulated in IEC 61937 header/padding.
DTS_IEC61937
DTS data encapsulated in IEC 61937 header/padding.
MPEG2_AAC_IEC61937
MPEG-2 AAC data encapsulated in IEC 61937 header/padding.
Invalid
Represents an invalid encoding.
Implementations
Trait Implementations
sourceimpl From<Encoding> for pa_encoding_t
impl From<Encoding> for pa_encoding_t
sourceimpl From<pa_encoding_t> for Encoding
impl From<pa_encoding_t> for Encoding
sourcefn from(e: pa_encoding_t) -> Self
fn from(e: pa_encoding_t) -> Self
Converts to this type from the input type.
impl Copy for Encoding
impl Eq for Encoding
impl StructuralEq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more