Add option to analyse audio automatically when content is added (#673).
[dcpomatic.git] / src / lib / analyse_audio_job.h
index 4273c19ed08a87f71773e2da63c370ee58e62ca0..d9b90ec668acc5c0ad090ad6139fe7c9efa4f6a9 100644 (file)
  */
 
 #include "job.h"
+#include "audio_point.h"
 #include "types.h"
 
 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
@@ -45,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>);