update.{cc,h} -> update_checker.{cc,h}.
[dcpomatic.git] / src / lib / analyse_audio_job.h
index 234424bb38c567e1d71a6c96e61a1b299554d5ad..4273c19ed08a87f71773e2da63c370ee58e62ca0 100644 (file)
  */
 
 #include "job.h"
-#include "audio_analysis.h"
 #include "types.h"
 
 class AudioBuffers;
+class AudioAnalysis;
 class Playlist;
 
 /** @class AnalyseAudioJob
@@ -39,6 +39,7 @@ class AnalyseAudioJob : public Job
 {
 public:
        AnalyseAudioJob (boost::shared_ptr<const Film>, boost::shared_ptr<const Playlist>);
+       ~AnalyseAudioJob ();
 
        std::string name () const;
        std::string json_name () const;
@@ -51,7 +52,7 @@ private:
 
        int64_t _done;
        int64_t _samples_per_point;
-       std::vector<AudioPoint> _current;
+       AudioPoint* _current;
 
        float _overall_peak;
        Frame _overall_peak_frame;