projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust for changes to libdcp API.
[dcpomatic.git]
/
src
/
lib
/
analyse_audio_job.h
diff --git
a/src/lib/analyse_audio_job.h
b/src/lib/analyse_audio_job.h
index 7e5ea4719112aceb753cb02608838167bccdf317..5d6c091bcfbf3b835c68bdd771f3247c2bca6140 100644
(file)
--- a/
src/lib/analyse_audio_job.h
+++ b/
src/lib/analyse_audio_job.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2012-201
5
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-201
8
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-44,21
+44,25
@@
class Filter;
class AnalyseAudioJob : public Job
{
public:
class AnalyseAudioJob : public Job
{
public:
- AnalyseAudioJob (boost::shared_ptr<const Film>, boost::shared_ptr<const Playlist>);
+ AnalyseAudioJob (boost::shared_ptr<const Film>, boost::shared_ptr<const Playlist>
, bool from_zero
);
~AnalyseAudioJob ();
std::string name () const;
std::string json_name () const;
void run ();
~AnalyseAudioJob ();
std::string name () const;
std::string json_name () const;
void run ();
- boost::
shared_ptr<const Playlist> playlist
() const {
- return _p
laylist
;
+ boost::
filesystem::path path
() const {
+ return _p
ath
;
}
private:
}
private:
- void analyse (boost::shared_ptr<const AudioBuffers>, DCPTime time);
+ void analyse (boost::shared_ptr<const AudioBuffers>,
dcpomatic::
DCPTime time);
boost::shared_ptr<const Playlist> _playlist;
boost::shared_ptr<const Playlist> _playlist;
+ /** playlist's audio analysis path when the job was created */
+ boost::filesystem::path _path;
+ dcpomatic::DCPTime _start;
+ bool _from_zero;
int64_t _done;
int64_t _samples_per_point;
int64_t _done;
int64_t _samples_per_point;