projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various fixes to make audio analysis sort-of work.
[dcpomatic.git]
/
src
/
lib
/
audio_analysis.h
diff --git
a/src/lib/audio_analysis.h
b/src/lib/audio_analysis.h
index ec6905105934cf5cc78b3a48d736a98806c51001..d57eba90a3184200a18619bcb0ac4b0727998038 100644
(file)
--- a/
src/lib/audio_analysis.h
+++ b/
src/lib/audio_analysis.h
@@
-23,6
+23,7
@@
#include <iostream>
#include <vector>
#include <list>
#include <iostream>
#include <vector>
#include <list>
+#include <boost/filesystem.hpp>
class AudioPoint
{
class AudioPoint
{
@@
-50,7
+51,7
@@
class AudioAnalysis
{
public:
AudioAnalysis (int c);
{
public:
AudioAnalysis (int c);
- AudioAnalysis (
std::string
);
+ AudioAnalysis (
boost::filesystem::path
);
void add_point (int c, AudioPoint const & p);
void add_point (int c, AudioPoint const & p);
@@
-58,7
+59,7
@@
public:
int points (int c) const;
int channels () 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;
private:
std::vector<std::vector<AudioPoint> > _data;