projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
425f936
)
Add comment.
author
Carl Hetherington
<cth@carlh.net>
Mon, 19 Apr 2021 21:13:21 +0000
(23:13 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 20 Apr 2021 22:52:07 +0000
(
00:52
+0200)
src/lib/player.h
patch
|
blob
|
history
diff --git
a/src/lib/player.h
b/src/lib/player.h
index be8d556afae77be2b5c691e0cbdeefefebd089db..8fc02d9c676312829ce8fb2ee497bf9c0ebeefd2 100644
(file)
--- 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 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.
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.