20 CPP_UTILITIES_UNUSED(diag)
21 CPP_UTILITIES_UNUSED(progress)
The AbortableProgressFeedback class provides feedback about an ongoing operation via callbacks.
std::uint16_t m_channelCount
std::uint8_t m_channelConfig
CppUtilities::BinaryReader m_reader
std::uint64_t m_startOffset
std::uint32_t m_samplingFrequency
constexpr std::uint8_t mpeg4ChannelConfig() const
Returns the MPEG-4 channel configuration.
void parseHeader(CppUtilities::BinaryReader &reader)
Parses the header read using the specified reader.
constexpr std::uint8_t mpeg4AudioObjectId() const
Returns the MPEG-4 audio object type ID.
constexpr std::uint8_t mpeg4SamplingFrequencyIndex() const
Returns the MPEG-4 sample rate index.
void internalParseHeader(Diagnostics &diag, AbortableProgressFeedback &progress) override
This method is internally called to parse header information.
The Diagnostics class is a container for DiagMessage.
The exception that is thrown when the data to be parsed holds no parsable information (e....
TAG_PARSER_EXPORT MediaFormat idToMediaFormat(std::uint8_t mpeg4AudioObjectId, bool sbrPresent=false, bool psPresent=false)
TAG_PARSER_EXPORT std::uint8_t channelCount(std::uint8_t config)
Returns the channel count for the specified MPEG-4 channel config.
Contains all classes and functions of the TagInfo library.
std::uint32_t mpeg4SamplingFrequencyTable[13]