1#ifndef TAG_PARSER_OGGSTREAM_H
2#define TAG_PARSER_OGGSTREAM_H
27 void calculateDurationViaSampleCount(std::uint16_t preSkip = 0);
29 std::size_t m_startPage;
31 std::uint32_t m_currentSequenceNumber;
The AbortableProgressFeedback class provides feedback about an ongoing operation via callbacks.
AbstractTrack(std::istream &inputStream, std::ostream &outputStream, std::uint64_t startOffset)
Constructs a new track.
The Diagnostics class is a container for DiagMessage.
Implementation of TagParser::AbstractContainer for Ogg files.
The OggIterator class helps iterating through all segments of an Ogg bitstream.
friend class OggContainer
OggStream(OggContainer &container, std::vector< OggPage >::size_type startPage)
Constructs a new track for the stream at the specified startOffset.
void internalParseHeader(Diagnostics &diag, AbortableProgressFeedback &progress) override
This method is internally called to parse header information.
TrackType type() const override
Returns the type of the track if known; otherwise returns TrackType::Unspecified.
std::size_t startPage() const
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
Contains all classes and functions of the TagInfo library.
TrackType
The TrackType enum specifies the underlying file type of a track and the concrete class of the track ...