Skip to content

Commit fa5a739

Browse files
authored
Update WavStreamSource.cs
1 parent 701f725 commit fa5a739

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

EXILED/Exiled.API/Features/Audio/WavStreamSource.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ namespace Exiled.API.Features.Audio
99
{
1010
using System.IO;
1111

12-
using Exiled.API.Features.Toys;
1312
using Exiled.API.Interfaces;
1413

1514
/// <summary>
@@ -28,7 +27,7 @@ public class WavStreamSource : IPcmSource
2827
public WavStreamSource(string path)
2928
{
3029
reader = new BinaryReader(File.OpenRead(path));
31-
Speaker.SkipWavHeader(reader);
30+
WavUtility.SkipHeader(reader);
3231
startPosition = reader.BaseStream.Position;
3332
endPosition = reader.BaseStream.Length;
3433
}

0 commit comments

Comments
 (0)