tangled
alpha
login
or
join now
keii.dev
/
osu-framework
0
fork
atom
A game framework written with osu! in mind.
0
fork
atom
overview
issues
pulls
pipelines
Nullable annotate DrawableSample
smoogipoo
4 years ago
b503b7a1
35af457b
+3
-1
1 changed file
expand all
collapse all
unified
split
osu.Framework
Graphics
Audio
DrawableSample.cs
+3
-1
osu.Framework/Graphics/Audio/DrawableSample.cs
···
1
1
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
2
2
// See the LICENCE file in the repository root for full licence text.
3
3
4
4
+
#nullable enable
5
5
+
4
6
using osu.Framework.Audio.Mixing;
5
7
using osu.Framework.Audio.Sample;
6
8
using osu.Framework.Bindables;
···
51
53
52
54
public Bindable<int> PlaybackConcurrency { get; } = new Bindable<int>(Sample.DEFAULT_CONCURRENCY);
53
55
54
54
-
private IAudioMixer mixer;
56
56
+
private IAudioMixer? mixer;
55
57
56
58
protected override void OnMixerChanged(ValueChangedEvent<IAudioMixer> mixer)
57
59
{