Mercurial > hg > svgui
changeset 142:40a47de69559
...
author | Chris Cannam |
---|---|
date | Thu, 14 Sep 2006 11:20:09 +0000 |
parents | 48d19f278b15 |
children | bcb6d71be63c |
files | layer/SpectrogramLayer.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Wed Sep 13 17:16:22 2006 +0000 +++ b/layer/SpectrogramLayer.cpp Thu Sep 14 11:20:09 2006 +0000 @@ -1114,7 +1114,7 @@ float phaseError = princargf(newPhase - expectedPhase); - if (fabs(phaseError) < (1.1 * (windowIncrement * M_PI) / windowSize)) { + if (fabsf(phaseError) < (1.1f * (windowIncrement * M_PI) / windowSize)) { // The new frequency estimate based on the phase error // resulting from assuming the "native" frequency of this bin