summaryrefslogtreecommitdiffstats
path: root/src/analyzer
diff options
context:
space:
mode:
authorJan Holthuis <jholthuis@mixxx.org>2021-07-05 22:12:52 +0200
committerJan Holthuis <jholthuis@mixxx.org>2021-07-08 00:16:47 +0200
commitf2024a96df51711d545ecc13d93f62a87ece6a94 (patch)
tree01f7a5fff8cb3fe97386979b0cdd048b4da73935 /src/analyzer
parentf625d967574b19a3fab5833841e0d3a2ab6b40ea (diff)
Cue: Migrate class to FramePos
Diffstat (limited to 'src/analyzer')
-rw-r--r--src/analyzer/analyzersilence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyzer/analyzersilence.cpp b/src/analyzer/analyzersilence.cpp
index 4b0c0e8b6a..11f53ec631 100644
--- a/src/analyzer/analyzersilence.cpp
+++ b/src/analyzer/analyzersilence.cpp
@@ -15,7 +15,7 @@ bool shouldAnalyze(TrackPointer pTrack) {
CuePointer pOutroCue = pTrack->findCueByType(mixxx::CueType::Outro);
CuePointer pAudibleSound = pTrack->findCueByType(mixxx::CueType::AudibleSound);
- if (!pIntroCue || !pOutroCue || !pAudibleSound || pAudibleSound->getLength() <= 0) {
+ if (!pIntroCue || !pOutroCue || !pAudibleSound || pAudibleSound->getLengthFrames() <= 0) {
return true;
}
return false;