summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-10 12:26:35 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-10 12:26:35 +0100
commitb4c78888fd6232ba5736b8e0fd712ad6f501e5b4 (patch)
tree7713112beb6aee9c1375413f3805dfcf06bbc2c3 /src/lib
parenta30100943a7a750a0c26fbcfc841b6ade4ac36c4 (diff)
Fix audio emission with mapping.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/player.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc
index 26ded61b8..6b7dc2722 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -286,6 +286,8 @@ Player::process_audio (weak_ptr<Piece> weak_piece, shared_ptr<const AudioBuffers
dcp_mapped->accumulate_channel (audio.get(), i->first, i->second);
}
+ audio = dcp_mapped;
+
/* The time of this audio may indicate that some of our buffered audio is not going to
be added to any more, so it can be emitted.
*/