Fix unit tests and comment
This commit is contained in:
parent
eb1b781768
commit
6d1ed21bae
@ -70,11 +70,11 @@ public class TestFPCalc
|
||||
|
||||
Assert.True(lhs.Valid);
|
||||
Assert.Equal(0, lhs.IntroStart);
|
||||
Assert.Equal(17.92, lhs.IntroEnd);
|
||||
Assert.Equal(17.792, lhs.IntroEnd);
|
||||
|
||||
Assert.True(rhs.Valid);
|
||||
Assert.Equal(0, rhs.IntroStart);
|
||||
Assert.Equal(22.784, rhs.IntroEnd);
|
||||
Assert.Equal(22.656, rhs.IntroEnd);
|
||||
}
|
||||
|
||||
private QueuedEpisode queueEpisode(string path)
|
||||
|
@ -21,7 +21,7 @@ public class FingerprinterTask : IScheduledTask
|
||||
|
||||
/// <summary>
|
||||
/// Maximum number of bits (out of 32 total) that can be different between segments before they are considered dissimilar.
|
||||
/// 8 bits means the audio must be at least 75% similar (1 - 8 / 32).
|
||||
/// 6 bits means the audio must be at least 81% similar (1 - 6 / 32).
|
||||
/// </summary>
|
||||
private const double MaximumDifferences = 6;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user