Tag Parser  6.3.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Public Member Functions | List of all members
Media::FlacToOggMappingHeader Class Reference

The FlacToOggMappingHeader class is a FLAC-to-Ogg mapping header parser. More...

#include <flactooggmappingheader.h>

Public Member Functions

 FlacToOggMappingHeader ()
 Constructs a new FLAC identification header. More...
 
void parseHeader (OggIterator &iterator)
 Parses the FLAC-to-Ogg mapping header which is read using the specified iterator. More...
 
byte majorVersion () const
 Returns the major version for the mapping (which should be 1 currently). More...
 
byte minorVersion () const
 Returns the version for the mapping (which should be 0 currently). More...
 
uint16 headerCount () const
 Returns the number of header (non-audio) packets, not including this one. More...
 
const FlacMetaDataBlockStreamInfostreamInfo () const
 Returns the stream info. More...
 

Detailed Description

The FlacToOggMappingHeader class is a FLAC-to-Ogg mapping header parser.

See also
https://xiph.org/flac/ogg_mapping.html

Definition at line 10 of file flactooggmappingheader.h.

Constructor & Destructor Documentation

◆ FlacToOggMappingHeader()

Media::FlacToOggMappingHeader::FlacToOggMappingHeader ( )
inline

Constructs a new FLAC identification header.

Definition at line 32 of file flactooggmappingheader.h.

Member Function Documentation

◆ headerCount()

uint16 Media::FlacToOggMappingHeader::headerCount ( ) const
inline

Returns the number of header (non-audio) packets, not including this one.

Definition at line 57 of file flactooggmappingheader.h.

◆ majorVersion()

byte Media::FlacToOggMappingHeader::majorVersion ( ) const
inline

Returns the major version for the mapping (which should be 1 currently).

Definition at line 41 of file flactooggmappingheader.h.

◆ minorVersion()

byte Media::FlacToOggMappingHeader::minorVersion ( ) const
inline

Returns the version for the mapping (which should be 0 currently).

Definition at line 49 of file flactooggmappingheader.h.

◆ parseHeader()

void Media::FlacToOggMappingHeader::parseHeader ( OggIterator iterator)

Parses the FLAC-to-Ogg mapping header which is read using the specified iterator.

Remarks
The header is assumed to start at the current position of iterator.

Definition at line 24 of file flactooggmappingheader.cpp.

◆ streamInfo()

const FlacMetaDataBlockStreamInfo & Media::FlacToOggMappingHeader::streamInfo ( ) const
inline

Returns the stream info.

Definition at line 65 of file flactooggmappingheader.h.


The documentation for this class was generated from the following files: