Enum simplemad_sys::MadError [] [src]

#[repr(C)]
pub enum MadError { None, BufLen, BufPtr, NoMem, LostSync, BadLayer, BadBitRate, BadSampleRate, BadEmphasis, BadCRC, BadBitAlloc, BadScaleFactor, BadMode, BadFrameLen, BadBigValues, BadBlockType, BadScFSI, BadDataPtr, BadPart3Len, BadHuffTable, BadHuffData, BadStereo, }

Errors generated by libmad

Variants

no error

input buffer too small (or eof)

invalid (null) buffer pointer

not enough memory

lost synchronization

reserved header layer value

forbidden bitrate value

reserved sample frequency value

reserved emphasis value

crc check failed

forbidden bit allocation value

bad scalefactor index

bad bitrate/mode combination

bad frame length

bad big_values count

reserved block_type

bad scalefactor selection info

bad main_data_begin pointer

bad audio data length

bad huffman table select

huffman data overrun

incompatible block_type for joint stereo

Trait Implementations

impl Debug for MadError
[src]

Formats the value using the given formatter.

impl Clone for MadError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MadError
[src]

impl PartialEq for MadError
[src]

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

This method tests for !=.

impl Default for MadError
[src]

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