diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-20 17:34:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-20 21:20:38 +0100 |
| commit | 50cb31af16240b248700dab1484d7f07656c66df (patch) | |
| tree | 393568f3c24506ac6b004346b9ef5101f9fdcf61 /src/lib/analyse_audio_job.h | |
| parent | edfd92e5554e3389e6456f497f44ca6e866800bf (diff) | |
Various fixes to make audio analysis sort-of work.
Diffstat (limited to 'src/lib/analyse_audio_job.h')
| -rw-r--r-- | src/lib/analyse_audio_job.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/analyse_audio_job.h b/src/lib/analyse_audio_job.h index a0786a017..3d4881983 100644 --- a/src/lib/analyse_audio_job.h +++ b/src/lib/analyse_audio_job.h @@ -22,11 +22,12 @@ #include "types.h" class AudioBuffers; +class AudioContent; class AnalyseAudioJob : public Job { public: - AnalyseAudioJob (boost::shared_ptr<Film> f); + AnalyseAudioJob (boost::shared_ptr<const Film>, boost::shared_ptr<AudioContent>); std::string name () const; void run (); @@ -34,7 +35,8 @@ public: private: void audio (boost::shared_ptr<const AudioBuffers>, Time); - Time _done; + boost::weak_ptr<AudioContent> _content; + OutputAudioFrame _done; int64_t _samples_per_point; std::vector<AudioPoint> _current; |
