summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-08-03 08:04:50 +0200
committerMax Kellermann <max@musicpd.org>2019-08-03 08:07:30 +0200
commitc87d6825ec0707fcfbc7a5b3fae971d7db35cf4d (patch)
tree45b9cf737eb86dee64ef974ae57c1ed8569c8faa
parent00830a20e3231460bf8927844fd6fed0ddad5c0a (diff)
decoder/mad: add API documentation
-rw-r--r--src/decoder/plugins/MadDecoderPlugin.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/decoder/plugins/MadDecoderPlugin.cxx b/src/decoder/plugins/MadDecoderPlugin.cxx
index 8bddf14be..3fb38e0b9 100644
--- a/src/decoder/plugins/MadDecoderPlugin.cxx
+++ b/src/decoder/plugins/MadDecoderPlugin.cxx
@@ -175,6 +175,11 @@ private:
gcc_pure
long TimeToFrame(SongTime t) const noexcept;
+ /**
+ * Record the current frame's offset in the "frame_offsets"
+ * buffer and go forward to the next frame, updating the
+ * attributes "current_frame" and "timer".
+ */
void UpdateTimerNextFrame() noexcept;
/**