From 01d77fb741f2c7aa9661c5421b76efaefb4cca1b Mon Sep 17 00:00:00 2001 From: Naxesss <30292137+Naxesss@users.noreply.github.com> Date: Mon, 11 Oct 2021 23:58:06 +0200 Subject: [PATCH] Remove redundant `Bass.Init` call in test setup --- osu.Game.Tests/Editing/Checks/CheckAudioInVideoTest.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/osu.Game.Tests/Editing/Checks/CheckAudioInVideoTest.cs b/osu.Game.Tests/Editing/Checks/CheckAudioInVideoTest.cs index 2dcd37123d..04baf7d854 100644 --- a/osu.Game.Tests/Editing/Checks/CheckAudioInVideoTest.cs +++ b/osu.Game.Tests/Editing/Checks/CheckAudioInVideoTest.cs @@ -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]