We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 701f725 commit fa5a739Copy full SHA for fa5a739
EXILED/Exiled.API/Features/Audio/WavStreamSource.cs
@@ -9,7 +9,6 @@ namespace Exiled.API.Features.Audio
9
{
10
using System.IO;
11
12
- using Exiled.API.Features.Toys;
13
using Exiled.API.Interfaces;
14
15
/// <summary>
@@ -28,7 +27,7 @@ public class WavStreamSource : IPcmSource
28
27
public WavStreamSource(string path)
29
30
reader = new BinaryReader(File.OpenRead(path));
31
- Speaker.SkipWavHeader(reader);
+ WavUtility.SkipHeader(reader);
32
startPosition = reader.BaseStream.Position;
33
endPosition = reader.BaseStream.Length;
34
}
0 commit comments