Various fixes to make audio analysis sort-of work.
[dcpomatic.git] / src / lib / audio_analysis.h
index c26c0584c14d963004b9d55245cb39f5efc287bd..d57eba90a3184200a18619bcb0ac4b0727998038 100644 (file)
 
 */
 
-#ifndef DVDOMATIC_AUDIO_ANALYSIS_H
-#define DVDOMATIC_AUDIO_ANALYSIS_H
+#ifndef DCPOMATIC_AUDIO_ANALYSIS_H
+#define DCPOMATIC_AUDIO_ANALYSIS_H
 
 #include <iostream>
 #include <vector>
+#include <list>
+#include <boost/filesystem.hpp>
 
 class AudioPoint
 {
@@ -49,15 +51,15 @@ class AudioAnalysis
 {
 public:
        AudioAnalysis (int c);
-       AudioAnalysis (std::string);
+       AudioAnalysis (boost::filesystem::path);
 
        void add_point (int c, AudioPoint const & p);
        
        AudioPoint get_point (int c, int p) const;
        int points (int c) const;
+       int channels () const;
 
-       void write (std::string);
-
+       void write (boost::filesystem::path);
 
 private:
        std::vector<std::vector<AudioPoint> > _data;