summaryrefslogtreecommitdiff
path: root/src/lib/player.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-07 00:21:16 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-07 09:29:59 +0200
commit49bc592d53d451ab59a8ae6f3ec74126571fb60a (patch)
treec53c56d75c2a5cccc105009a0e6a0c9fc3a1a651 /src/lib/player.cc
parent1b998e92e4313e728389a39408bd67919649c5cb (diff)
Diffstat (limited to 'src/lib/player.cc')
-rw-r--r--src/lib/player.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc
index 8b785f0fe..7e915296e 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -906,7 +906,10 @@ Player::audio (weak_ptr<Piece> wp, PieceAudio audio)
/* The end of this block in the DCP */
int const rfr = piece->resampled_audio_frame_rate ();
auto end = audio.time + DCPTime::from_frames(audio.audio->frames(), rfr);
- std::cout << "Player gets " << to_string(audio.time) << "\n";
+
+ /* XXX: is this still necessary? don't the checks in Piece take care of this now?
+ * Maybe replace with some assertions & run tests.
+ */
/* Remove anything that comes before the start or after the end of the content */
if (audio.time < piece->position()) {