Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
m0dB authored and m0dB committed Dec 28, 2023
1 parent 8753d15 commit 99598ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/analyzer/analyzerwaveform.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ inline CSAMPLE scaleSignal(CSAMPLE invalue, FilterIndex index = FilterCount) {
} else {
return std::pow(invalue, 2.0f * 0.316f);
}

// TODO this function needs an explanation of why this scaling is applied.
// Note that in the allshader waveform-renderers, this scaling is undone for
// the filtered.all band.
}

struct WaveformStride {
Expand Down

0 comments on commit 99598ed

Please sign in to comment.