summaryrefslogtreecommitdiffstats
path: root/src/analyzer/constants.h
diff options
context:
space:
mode:
authorRJ Skerry-Ryan <rryan@mixxx.org>2018-12-30 07:05:11 -0800
committerRJ Skerry-Ryan <rryan@mixxx.org>2018-12-30 07:19:55 -0800
commitce067ea7119e77586f89c56033897a11e1698bd1 (patch)
tree26099b8d18a6fe66a72ad0529c06edc660c52c64 /src/analyzer/constants.h
parentd4efc866ac51145513c0fc7b5f0591feee61692a (diff)
Add a constant for the number of seconds to analyze in fast analysis mode.
Diffstat (limited to 'src/analyzer/constants.h')
-rw-r--r--src/analyzer/constants.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/analyzer/constants.h b/src/analyzer/constants.h
index 96a88842dc..4ea46f7149 100644
--- a/src/analyzer/constants.h
+++ b/src/analyzer/constants.h
@@ -14,4 +14,7 @@ constexpr SINT kAnalysisFramesPerBlock = 4096;
const SINT kAnalysisSamplesPerBlock =
kAnalysisFramesPerBlock * kAnalysisChannels;
+// Only analyze the first minute in fast-analysis mode.
+constexpr int kFastAnalysisSecondsToAnalyze = 60;
+
} // namespace mixxx