Skip to content

Commit 2741df2

Browse files
author
Dave Plummer
committed
Update soundanalyzer style
1 parent ce9fae0 commit 2741df2

3 files changed

Lines changed: 110 additions & 236 deletions

File tree

include/effects/strip/musiceffect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class BeatEffectBase
8989

9090
// Access peaks via const reference to avoid copying
9191
const PeakData & peaks = g_Analyzer.Peaks();
92-
auto basslevel = peaks._Level[0] * 2; // Scale to historical 0-2 range
92+
auto basslevel = peaks[0] * 2; // Scale to historical 0-2 range
9393

9494
debugV("basslevel: %0.2f", basslevel);
9595
_samples.push_back(basslevel);

0 commit comments

Comments
 (0)