Enum libpulse_binding::format::Encoding[][src]

#[repr(C)]
pub enum Encoding { Any, PCM, AC3_IEC61937, EAC3_IEC61937, MPEG_IEC61937, DTS_IEC61937, MPEG2_AAC_IEC61937, Invalid, }

Represents the type of encoding used in a stream or accepted by a sink.

Variants

Any encoding format, PCM or compressed.

Any PCM format.

AC3 data encapsulated in IEC 61937 header/padding.

EAC3 data encapsulated in IEC 61937 header/padding.

MPEG-1 or MPEG-2 (Part 3, not AAC) data encapsulated in IEC 61937 header/padding.

DTS data encapsulated in IEC 61937 header/padding.

MPEG-2 AAC data encapsulated in IEC 61937 header/padding.

Represents an invalid encoding.

Methods

impl Encoding
[src]

Returns a printable string representing the given encoding type.

Converts a string of the form returned by to_string back to an Encoding.

Trait Implementations

impl Debug for Encoding
[src]

Formats the value using the given formatter. Read more

impl Copy for Encoding
[src]

impl Clone for Encoding
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Encoding
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Encoding
[src]

impl From<Encoding> for pa_encoding_t
[src]

Performs the conversion.

impl From<pa_encoding_t> for Encoding
[src]

Performs the conversion.

impl Default for Encoding
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Encoding

impl Sync for Encoding