tagparser/ogg/oggstream.h

40 lines
673 B
C
Raw Normal View History

2015-04-22 19:22:01 +02:00
#ifndef MEDIA_OGGSTREAM_H
#define MEDIA_OGGSTREAM_H
2015-09-06 19:57:33 +02:00
#include "./oggpage.h"
#include "../abstracttrack.h"
2015-04-22 19:22:01 +02:00
namespace Media {
class OggContainer;
class OggIterator;
class LIB_EXPORT OggStream : public AbstractTrack
{
friend class OggContainer;
public:
OggStream(OggContainer &container, std::vector<OggPage>::size_type startPage);
~OggStream();
TrackType type() const;
protected:
void internalParseHeader();
private:
std::vector<OggPage>::size_type m_startPage;
OggContainer &m_container;
2016-01-17 19:32:58 +01:00
uint32 m_currentSequenceNumber;
2015-04-22 19:22:01 +02:00
};
inline TrackType OggStream::type() const
{
return TrackType::OggStream;
}
}
#endif // MEDIA_OGGSTREAM_H