3 #include "../mp4/mp4ids.h" 5 #include "../exceptions.h" 27 m_istream->seekg(-128, ios_base::end);
28 if (m_reader.readUInt24BE() == 0x544147) {
29 m_size = static_cast<uint64>(m_istream->tellg()) - 3u - m_startOffset;
31 m_size = static_cast<uint64>(m_istream->tellg()) + 125u - m_startOffset;
33 m_istream->seekg(static_cast<streamoff>(m_startOffset), ios_base::beg);
35 m_firstFrame.parseHeader(m_reader);
38 byte sampleRateIndex = m_firstFrame.mpeg4SamplingFrequencyIndex();
TAG_PARSER_EXPORT byte channelCount(byte config)
Returns the channel count for the specified MPEG-4 channel config.
TAG_PARSER_EXPORT MediaFormat idToMediaFormat(byte mpeg4AudioObjectId, bool sbrPresent=false, bool psPresent=false)
The exception that is thrown when the data to be parsed holds no parsable information (e....
Contains all classes and functions of the TagInfo library.
The Diagnostics class is a container for DiagMessage.
uint32 mpeg4SamplingFrequencyTable[13]