Skip to content

Commit bb11c9d

Browse files
committed
Adding a default value for black frames configuration.
1 parent 3078486 commit bb11c9d

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

src/SoundFingerprinting.Tests/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
[assembly: AssemblyCulture("")]
1212
[assembly: ComVisible(false)]
1313
[assembly: Guid("4cac962e-ebc5-4006-a1e0-7ffb3e2483c2")]
14-
[assembly: AssemblyVersion("12.4.0.100")]
15-
[assembly: AssemblyInformationalVersion("12.4.0.100")]
14+
[assembly: AssemblyVersion("12.5.0.100")]
15+
[assembly: AssemblyInformationalVersion("12.5.0.100")]

src/SoundFingerprinting/Configuration/Frames/BlackFramesFilterConfiguration.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@
55
/// </summary>
66
public class BlackFramesFilterConfiguration
77
{
8+
/// <summary>
9+
/// Gets the default configuration that considers a frame black if 94% of its pixels are below the threshold of 32.
10+
/// </summary>
11+
public static readonly BlackFramesFilterConfiguration Default = new ()
12+
{
13+
Amount = 94,
14+
Threshold = 32
15+
};
16+
817
/// <summary>
918
/// Gets or sets the threshold below which a pixel value is considered black.
1019
/// </summary>

src/SoundFingerprinting/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
[assembly: InternalsVisibleTo("SoundFingerprinting.FFT.FFTW")]
2020
[assembly: InternalsVisibleTo("SoundFingerprinting.FFT.FFTW.Tests")]
2121

22-
[assembly: AssemblyVersion("12.4.0.100")]
23-
[assembly: AssemblyInformationalVersion("12.4.0.100")]
22+
[assembly: AssemblyVersion("12.5.0.100")]
23+
[assembly: AssemblyInformationalVersion("12.5.0.100")]

0 commit comments

Comments
 (0)