Remove redundant `Bass.Init` call in test setup

This commit is contained in:
Naxesss 2021-10-11 23:58:06 +02:00
parent ce69dd3588
commit 01d77fb741
1 changed files with 0 additions and 6 deletions

View File

@ -4,7 +4,6 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using ManagedBass;
using Moq;
using NUnit.Framework;
using osu.Game.Beatmaps;
@ -14,7 +13,6 @@
using osu.Game.Storyboards;
using osu.Game.Tests.Beatmaps;
using osu.Game.Tests.Resources;
using osuTK.Audio;
using FileInfo = osu.Game.IO.FileInfo;
namespace osu.Game.Tests.Editing.Checks
@ -46,10 +44,6 @@ public void Setup()
}
}
};
// 0 = No output device. This still allows decoding.
if (!Bass.Init(0) && Bass.LastError != Errors.Already)
throw new AudioException("Could not initialize Bass.");
}
[Test]