Differentiate between stop and suspend in player.
[dcpomatic.git] / src / wx / film_viewer.h
index a37d7581ed5451dbaaa1a3df4d9a75b992c812ef..1f20c3321f0ccc999f285c01692edd000010e872 100644 (file)
@@ -75,6 +75,8 @@ public:
 
        void start ();
        bool stop ();
+       void suspend ();
+       void resume ();
        bool playing () const {
                return _playing;
        }
@@ -186,6 +188,7 @@ private:
        int _audio_channels;
        unsigned int _audio_block_size;
        bool _playing;
+       int _suspended;
        boost::shared_ptr<Butler> _butler;
 
        std::list<Frame> _latency_history;