Decoded 32 bit MP3 packet header.
More...
Decoded 32 bit MP3 packet header.
The beginning of an MP3 data packet is a big endian 32 bit value broken down to certain bit fields that are described by these web pages https://www.mp3-tech.org/programmer/frame_header.html and http://www.datavoyage.com/mpgscript/mpeghdr.htm
This structure and functions will parse, validate and read or write this data from or into an MP3 data stream.
- See also
- FrameHeaderExt_t, DecompressMP3, eMPEGAudioVersionID, eMPEGLayerDescription, eMPEGChannelMode, eMPEGModeExtension or eMPEGEmphasis
◆ Decode()
uint_t BURGER_API Burger::DecompressMP3::FrameHeader_t::Decode |
( |
const void * | pInput | ) |
|
◆ Encode()
void BURGER_API Burger::DecompressMP3::FrameHeader_t::Encode |
( |
void * | pOutput | ) |
const |
◆ Invalidate()
void Burger::DecompressMP3::FrameHeader_t::Invalidate |
( |
void | | ) |
|
|
inline |
◆ is_valid()
uint_t Burger::DecompressMP3::FrameHeader_t::is_valid |
( |
void | | ) |
const |
|
inline |
◆ IsFreeFormat()
uint_t Burger::DecompressMP3::FrameHeader_t::IsFreeFormat |
( |
void | | ) |
const |
|
inline |
Return TRUE if bit rate is adjustable.
If this packet has a bit rate index of zero, return TRUE since this denotes a free format bit rate is used.
- See also
- FrameHeader_t
◆ m_bCopyrighted
uint_t Burger::DecompressMP3::FrameHeader_t::m_bCopyrighted |
TRUE if this file is copyrighted (Copy forbidden)
◆ m_bCRCPresent
uint_t Burger::DecompressMP3::FrameHeader_t::m_bCRCPresent |
TRUE if there's a CRC-16 (IBM format) after the header
◆ m_bOriginalMedia
uint_t Burger::DecompressMP3::FrameHeader_t::m_bOriginalMedia |
TRUE if this is the original file
◆ m_bPadding
uint_t Burger::DecompressMP3::FrameHeader_t::m_bPadding |
TRUE if the frame is padded by one extra slot
◆ m_bPrivateExtension
uint_t Burger::DecompressMP3::FrameHeader_t::m_bPrivateExtension |
TRUE if a private extension is present
◆ m_uBitrateIndex
uint_t Burger::DecompressMP3::FrameHeader_t::m_uBitrateIndex |
4 bit index into the bit rate tables (0 = free format, 1-14 index)
◆ m_uChannelMode
◆ m_uEmphasis
Decompression emphasis (Not really used anymore)
◆ m_uLayerDescription
MP3 Layer description 1,2 or 3.
◆ m_uModeExtension
◆ m_uSamplingRateFrequencyIndex
uint_t Burger::DecompressMP3::FrameHeader_t::m_uSamplingRateFrequencyIndex |
0-2, index into the sampling rate table
◆ m_uVersion