diff options
Diffstat (limited to 'src/wx/film_viewer.h')
| -rw-r--r-- | src/wx/film_viewer.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index d7afa2182..6d08df368 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -61,6 +61,9 @@ public: FilmViewer(wxWindow* parent, bool wake); ~FilmViewer(); + FilmViewer(FilmViewer const&) = delete; + FilmViewer& operator=(FilmViewer const&) = delete; + /** @return the window showing the film's video */ wxWindow* panel() const { return _video_view->get(); @@ -230,5 +233,12 @@ private: */ std::shared_ptr<const PlayerVideo> _last_image; + /** Last return value from RtAudio's getStreamTime: the current stream + * time in seconds. + */ + std::atomic<double> _stream_time; + /** true if we need to call setStreamTime() with the current _stream_time */ + std::atomic<bool> _stream_time_update_needed; + boost::signals2::scoped_connection _config_changed_connection; }; |
