Tag Parser
6.2.2
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
The FlacMetaDataBlockHeader class is a FLAC "METADATA_BLOCK_HEADER" parser and maker. More...
#include <flacmetadata.h>
Public Member Functions | |
FlacMetaDataBlockHeader () | |
Constructs a new FLAC "METADATA_BLOCK_HEADER". More... | |
void | parseHeader (const char *buffer) |
Parses the FLAC "METADATA_BLOCK_HEADER" which is read using the specified iterator. More... | |
void | makeHeader (std::ostream &outputStream) |
Writes the header to the specified outputStream. More... | |
byte | isLast () const |
Returns whether this is the last metadata block before the audio blocks. More... | |
void | setLast (byte last) |
Sets whether this is the last metadata block before the audio blocks. More... | |
byte | type () const |
Returns the block type. More... | |
void | setType (FlacMetaDataBlockType type) |
Sets the block type. More... | |
uint32 | dataSize () const |
Returns the length in bytes of the meta data (excluding the size of the header itself). More... | |
void | setDataSize (uint32 dataSize) |
Sets the length in bytes of the meta data (excluding the size of the header itself). More... | |
The FlacMetaDataBlockHeader class is a FLAC "METADATA_BLOCK_HEADER" parser and maker.
Definition at line 38 of file flacmetadata.h.
|
inline |
Constructs a new FLAC "METADATA_BLOCK_HEADER".
Definition at line 62 of file flacmetadata.h.
|
inline |
Returns the length in bytes of the meta data (excluding the size of the header itself).
Definition at line 105 of file flacmetadata.h.
|
inline |
Returns whether this is the last metadata block before the audio blocks.
Definition at line 72 of file flacmetadata.h.
void Media::FlacMetaDataBlockHeader::makeHeader | ( | std::ostream & | outputStream | ) |
Writes the header to the specified outputStream.
Definition at line 41 of file flacmetadata.cpp.
void Media::FlacMetaDataBlockHeader::parseHeader | ( | const char * | buffer | ) |
Parses the FLAC "METADATA_BLOCK_HEADER" which is read using the specified iterator.
Definition at line 30 of file flacmetadata.cpp.
|
inline |
Sets the length in bytes of the meta data (excluding the size of the header itself).
Definition at line 114 of file flacmetadata.h.
|
inline |
Sets whether this is the last metadata block before the audio blocks.
Definition at line 80 of file flacmetadata.h.
|
inline |
Sets the block type.
Definition at line 97 of file flacmetadata.h.
|
inline |