*/
-#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>
class AudioPoint
{
};
AudioPoint ();
+ AudioPoint (std::istream &);
void write (std::ostream &) const;
- float& operator[] (Type t) {
+ float& operator[] (int t) {
return _data[t];
}
{
public:
AudioAnalysis (int c);
+ AudioAnalysis (std::string);
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);
private: