summaryrefslogtreecommitdiff
path: root/src/lib/player.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-19 23:13:21 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-21 00:52:07 +0200
commita7dab6e86e66269df937650a6e5ed7f63a3757ac (patch)
tree444a6249e6b7c8ea17da1edb6e3cf162c319bd54 /src/lib/player.h
parent425f936336e669555a0806b321cb90ea569e18c3 (diff)
Add comment.
Diffstat (limited to 'src/lib/player.h')
-rw-r--r--src/lib/player.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/player.h b/src/lib/player.h
index be8d556af..8fc02d9c6 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -102,6 +102,9 @@ public:
/** Emitted when a video frame is ready. These emissions happen in the correct order. */
boost::signals2::signal<void (std::shared_ptr<PlayerVideo>, dcpomatic::DCPTime)> Video;
+ /** Emitted when audio data is ready. First parameter is the audio data, second its time,
+ * third the frame rate.
+ */
boost::signals2::signal<void (std::shared_ptr<AudioBuffers>, dcpomatic::DCPTime, int)> Audio;
/** Emitted when a text is ready. This signal may be emitted considerably
* after the corresponding Video.