diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-04-19 10:56:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | 565a0ab9fc8be5c21685b019aa06d37e6c66160c (patch) | |
| tree | f69349ecb0231f9babeeba26749edd17be02e65b /src/lib/butler.h | |
| parent | 7a68de9aa2aba678f9ae9c6f9e11d9fc20c1c8e2 (diff) | |
Config option to disable preview audio.
Diffstat (limited to 'src/lib/butler.h')
| -rw-r--r-- | src/lib/butler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h index 943aa9e0f..948a78ea5 100644 --- a/src/lib/butler.h +++ b/src/lib/butler.h @@ -42,6 +42,8 @@ public: std::pair<boost::shared_ptr<PlayerVideo>, DCPTime> get_video (); void get_audio (float* out, Frame frames); + void disable_audio (); + private: void thread (); void video (boost::shared_ptr<PlayerVideo> video, DCPTime time); @@ -68,6 +70,7 @@ private: int _audio_channels; bool _stop_thread; + bool _disable_audio; boost::signals2::scoped_connection _player_video_connection; boost::signals2::scoped_connection _player_audio_connection; |
