We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 343eff3 commit 7aed7c4Copy full SHA for 7aed7c4
osu.Framework.Tests/Audio/SampleBassTest.cs
@@ -115,5 +115,20 @@ public void TestPlayingUpdatedAfterInlineStop()
115
bass.RunOnAudioThread(() => channel.Stop());
116
Assert.That(channel.Playing, Is.False);
117
}
118
+
119
+ [Test]
120
+ public void TestAliveAfterStop()
121
+ {
122
+ channel = sample.Play();
123
+ bass.Update();
124
125
+ Assert.That(channel.Playing, Is.True);
126
127
+ channel.Stop();
128
129
130
+ Assert.That(channel.Playing, Is.False);
131
+ Assert.That(channel.IsAlive, Is.True);
132
+ }
133
134
0 commit comments