summaryrefslogtreecommitdiff
path: root/src/lib/audio_analyser.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-11 13:10:48 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-11 22:55:27 +0100
commit527093fa643049d370f4daee8206349981edbf95 (patch)
treef2d8e39174c64a059545c109beadce44369d857b /src/lib/audio_analyser.h
parent4d49c6e02b5226147058ca8015acf0ad1f440e9b (diff)
Fix apparently ineffective processors when analysing audio (#2671).
A whole film ("DCP side") analysis would behave the same as a single piece of content analysis if the film only had one piece of content. Here we also clarify that audio analysis of the whole film is different to that for a single piece of content; for the whole film we use processors, and for single pieces of content we do not.
Diffstat (limited to 'src/lib/audio_analyser.h')
-rw-r--r--src/lib/audio_analyser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/audio_analyser.h b/src/lib/audio_analyser.h
index 4708f517a..3d40f8026 100644
--- a/src/lib/audio_analyser.h
+++ b/src/lib/audio_analyser.h
@@ -39,7 +39,7 @@ class Playlist;
class AudioAnalyser
{
public:
- AudioAnalyser (std::shared_ptr<const Film> film, std::shared_ptr<const Playlist> playlist, bool from_zero, std::function<void (float)> set_progress);
+ AudioAnalyser(std::shared_ptr<const Film> film, std::shared_ptr<const Playlist> playlist, bool whole_film, std::function<void (float)> set_progress);
AudioAnalyser (AudioAnalyser const&) = delete;
AudioAnalyser& operator= (AudioAnalyser const&) = delete;