Fix audio emission with mapping.
authorCarl Hetherington <cth@carlh.net>
Wed, 10 Jul 2013 11:26:35 +0000 (12:26 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 10 Jul 2013 11:26:35 +0000 (12:26 +0100)
src/lib/player.cc

index 26ded61b8b6f94dcee125068d212c02ed3eea3da..6b7dc27223938e3faa0460eaf83a8af3d5ca160c 100644 (file)
@@ -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.
         */