diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-03 13:52:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-14 10:21:11 +0100 |
| commit | b0834f33e972a6e7b0d234d09e420007943a136d (patch) | |
| tree | aac5cde453a18983a7c87462e1042ecd520218a4 /src/lib/audio_analysis.h | |
| parent | d2bd0c628fd0616fe3b7dd02bd955b2c07ab48d5 (diff) | |
Peak value of audio into the audio tab.
Diffstat (limited to 'src/lib/audio_analysis.h')
| -rw-r--r-- | src/lib/audio_analysis.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/audio_analysis.h b/src/lib/audio_analysis.h index 5e71705bf..0d06e5973 100644 --- a/src/lib/audio_analysis.h +++ b/src/lib/audio_analysis.h @@ -31,6 +31,8 @@ namespace xmlpp { class Element; } +class Playlist; + class AudioAnalysis : public boost::noncopyable { public: @@ -65,6 +67,8 @@ public: void write (boost::filesystem::path); + float gain_correction (boost::shared_ptr<const Playlist> playlist); + private: std::vector<std::vector<AudioPoint> > _data; boost::optional<float> _peak; |
