diff --git a/Vocaluxe/Lib/Sound/Record/CBuffer.cs b/Vocaluxe/Lib/Sound/Record/CBuffer.cs index 3ead34bc..fbe886f2 100644 --- a/Vocaluxe/Lib/Sound/Record/CBuffer.cs +++ b/Vocaluxe/Lib/Sound/Record/CBuffer.cs @@ -194,7 +194,7 @@ namespace Vocaluxe.Lib.Sound.Record accumDist += dist; } - return 1.0 - (double)accumDist / Int16.MaxValue / _AnalysisBufLen; + return 1.0 - (double)accumDist / Int16.MaxValue / sampleIndex; } public void Dispose()