1 #ifndef TAG_PARSER_FLACSTREAM_H 2 #define TAG_PARSER_FLACSTREAM_H 4 #include "../abstracttrack.h" 22 bool removeVorbisComment();
23 uint32 paddingSize()
const;
24 uint32 streamOffset()
const;
26 uint32 makeHeader(std::ostream &stream,
Diagnostics &diag);
27 static void makePadding(std::ostream &stream, uint32 size,
bool isLast,
Diagnostics &diag);
30 void internalParseHeader(
Diagnostics &diag)
override;
34 std::unique_ptr<VorbisComment> m_vorbisComment;
36 uint32 m_streamOffset;
53 return m_vorbisComment.get();
70 return m_streamOffset;
75 #endif // TAG_PARSER_FLACSTREAM_H
uint32 paddingSize() const
Returns the padding size.
VorbisComment * vorbisComment() const
Returns the Vorbis comment if one is present in the stream.
TrackType type() const override
Returns the type of the track if known; otherwise returns TrackType::Unspecified. ...
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
TrackType
Specifies the track type.
uint32 streamOffset() const
Returns the start offset of the actual FLAC frames.