lib/xiph/OggVisitor: more API documentation

This commit is contained in:
Max Kellermann 2019-08-02 13:56:00 +02:00
parent 1033dbca2b
commit 86d0534638

View File

@ -69,8 +69,21 @@ private:
void HandlePackets();
protected:
/**
* Called when the "beginning of stream" packet has been seen.
*
* @param packet the "beginning of stream" packet
*/
virtual void OnOggBeginning(const ogg_packet &packet) = 0;
/**
* Called for each follow-up packet.
*/
virtual void OnOggPacket(const ogg_packet &packet) = 0;
/**
* Called after the "end of stream" packet has been processed.
*/
virtual void OnOggEnd() = 0;
};