diff options
Diffstat (limited to 'src/analysis.c')
| -rw-r--r-- | src/analysis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analysis.c b/src/analysis.c index b192ae4e..23f6fa56 100644 --- a/src/analysis.c +++ b/src/analysis.c @@ -654,7 +654,7 @@ static void tonality_analysis(TonalityAnalysisState *tonal, const CELTMode *celt tonal->lowE[b] = logE[b]; tonal->highE[b] = MIN32(tonal->lowE[b]+15, tonal->highE[b]); } - relativeE += (logE[b]-tonal->lowE[b])/(1e-15f + (tonal->highE[b]-tonal->lowE[b])); + relativeE += (logE[b]-tonal->lowE[b])/(1e-5f + (tonal->highE[b]-tonal->lowE[b])); L1=L2=0; for (i=0;i<NB_FRAMES;i++) |
