Add option to analyse audio automatically when content is added (#673).
[dcpomatic.git] / src / lib / analyse_audio_job.h
index d484bff2c8c2df130d51e5fa8bd0cb7c5984c5d7..d9b90ec668acc5c0ad090ad6139fe7c9efa4f6a9 100644 (file)
@@ -28,6 +28,7 @@
 class AudioBuffers;
 class AudioAnalysis;
 class Playlist;
+class AudioPoint;
 
 /** @class AnalyseAudioJob
  *  @brief A job to analyse the audio of a film and make a note of its
@@ -46,6 +47,10 @@ public:
        std::string json_name () const;
        void run ();
 
+       boost::shared_ptr<const Playlist> playlist () const {
+               return _playlist;
+       }
+
 private:
        void analyse (boost::shared_ptr<const AudioBuffers>);