diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-05-22 00:00:55 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-05-22 00:00:55 +0100 |
| commit | 2b1f8bb12adc35dcd7f352885cb0f9a80b04093e (patch) | |
| tree | c7676e2c8905a8834b527514aa605ed0da219ee3 /src/lib/butler.cc | |
| parent | 88eb173f022062b337dc5d1681a1917c5893dc95 (diff) | |
Remove some unused code.
Diffstat (limited to 'src/lib/butler.cc')
| -rw-r--r-- | src/lib/butler.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/butler.cc b/src/lib/butler.cc index f7e722272..bf9fedceb 100644 --- a/src/lib/butler.cc +++ b/src/lib/butler.cc @@ -48,7 +48,7 @@ Butler::Butler (weak_ptr<const Film> film, shared_ptr<Player> player, AudioMappi , _disable_audio (false) { _player_video_connection = _player->Video.connect (bind (&Butler::video, this, _1, _2)); - _player_audio_connection = _player->Audio.connect (bind (&Butler::audio, this, _1, _2)); + _player_audio_connection = _player->Audio.connect (bind (&Butler::audio, this, _1)); _player_changed_connection = _player->Changed.connect (bind (&Butler::player_changed, this)); _thread = new boost::thread (bind (&Butler::thread, this)); } @@ -173,7 +173,7 @@ Butler::video (shared_ptr<PlayerVideo> video, DCPTime time) } void -Butler::audio (shared_ptr<AudioBuffers> audio, DCPTime time) +Butler::audio (shared_ptr<AudioBuffers> audio) { { boost::mutex::scoped_lock lm (_mutex); @@ -183,7 +183,7 @@ Butler::audio (shared_ptr<AudioBuffers> audio, DCPTime time) } } - _audio.put (audio, time); + _audio.put (audio); } void |
