Public Member Functions | |
uint_t | Decode (const uint8_t *pInput) |
Decode a Xing data chunk. | |
Static Public Member Functions | |
static uint_t | IsSignatureValid (const uint8_t *pInput) |
Test if a Xing chunk signature was valid. | |
Public Attributes | |
uint_t | m_uFlags |
Xing header flags, see XING_* for bits. | |
uint_t | m_uFrames |
Number of audio frames. | |
uint_t | m_uBytes |
Number of bytes. | |
uint_t | m_uQuality |
Quality (0 best, 100 worst) | |
uint_t | m_uSampleRate |
Sample rate in Hz. | |
uint_t | m_uHeaderSize |
Size of the VBR record in bytes. | |
int | m_iEncodingDelay |
Delay in samples 0-3000 or -1 if invalid. | |
int | m_iEncodingPadding |
Padding at the end of the field 0-3000 or -1 if invalid. | |
uint8_t | m_TOC [cTOCEntries] |
Table of contents (Can be zeros if no TOC is present) | |
Static Public Attributes | |
static const uint_t | cTOCEntries = 100 |
< Structure for Xing format VBR data | |
static const uint_t | XING_FRAMES_FLAG = 0x0001 |
Frames field is present. | |
static const uint_t | XING_BYTES_FLAG = 0x0002 |
Bytes field is present. | |
static const uint_t | XING_TOC_FLAG = 0x0004 |
TOC field is present. | |
static const uint_t | XING_QUALITY_FLAG = 0x0008 |
Quality indicator field is present. | |
static const uintptr_t | cRawHeaderSize = 194 |
Number of bytes the raw stream could occupy, maximum. | |
uint_t BURGER_API Burger::DecompressMP3::XingChunk_t::Decode | ( | const uint8_t * | pInput | ) |
Decode a Xing data chunk.
https://www.codeproject.com/Articles/8295/MPEG-Audio-Frame-Header
pInput | Pointer to a Xing header |
|
static |
Test if a Xing chunk signature was valid.
pInput | Pointer to a Xing header |
|
static |
Number of bytes the raw stream could occupy, maximum.
|
static |
< Structure for Xing format VBR data
Maximum number of Table of Contents entries
int Burger::DecompressMP3::XingChunk_t::m_iEncodingDelay |
Delay in samples 0-3000 or -1 if invalid.
int Burger::DecompressMP3::XingChunk_t::m_iEncodingPadding |
Padding at the end of the field 0-3000 or -1 if invalid.
uint8_t Burger::DecompressMP3::XingChunk_t::m_TOC[cTOCEntries] |
Table of contents (Can be zeros if no TOC is present)
uint_t Burger::DecompressMP3::XingChunk_t::m_uBytes |
Number of bytes.
uint_t Burger::DecompressMP3::XingChunk_t::m_uFlags |
Xing header flags, see XING_* for bits.
uint_t Burger::DecompressMP3::XingChunk_t::m_uFrames |
Number of audio frames.
uint_t Burger::DecompressMP3::XingChunk_t::m_uHeaderSize |
Size of the VBR record in bytes.
uint_t Burger::DecompressMP3::XingChunk_t::m_uQuality |
Quality (0 best, 100 worst)
uint_t Burger::DecompressMP3::XingChunk_t::m_uSampleRate |
Sample rate in Hz.
|
static |
Bytes field is present.
|
static |
Frames field is present.
|
static |
Quality indicator field is present.
|
static |
TOC field is present.