20 #ifndef MPD_OGG_DECODER_HXX 21 #define MPD_OGG_DECODER_HXX 28 ogg_int64_t end_granulepos;
37 client(reader.GetClient()),
47 bool LoadEndPacket(ogg_packet &packet)
const;
48 ogg_int64_t LoadEndGranulePos()
const;
52 return end_granulepos = LoadEndGranulePos();
56 return end_granulepos > 0;
OggDecoder(DecoderReader &reader)
An interface between the decoder plugin and the MPD core.
ogg_int64_t UpdateEndGranulePos()
bool Seek(OggSyncState &oy, uint64_t where_frame)
void SeekGranulePos(ogg_int64_t where_granulepos)
Abstract class which iterates over Ogg packets in a Reader.
InputStream & input_stream
A wrapper for decoder_read() which implements the Reader interface.
Wrapper for an ogg_sync_state.