summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-08-02 13:56:00 +0200
committerMax Kellermann <max@musicpd.org>2019-08-02 13:56:00 +0200
commit86d0534638b6854af663b77d7e082ea8c1af76bf (patch)
tree951487bc051a5334947e72fb32911c1d94500755 /src/lib
parent1033dbca2bc695e42068483f23b3d09dd188ec10 (diff)
lib/xiph/OggVisitor: more API documentation
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/xiph/OggVisitor.hxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/xiph/OggVisitor.hxx b/src/lib/xiph/OggVisitor.hxx
index a7e6eb9b8..e20548dd2 100644
--- a/src/lib/xiph/OggVisitor.hxx
+++ b/src/lib/xiph/OggVisitor.hxx
@@ -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;
};