A game framework written with osu! in mind.

Nullable annotate DrawableSample

+3 -1
+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 + #nullable enable 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 - private IAudioMixer mixer; 56 + private IAudioMixer? mixer; 55 57 56 58 protected override void OnMixerChanged(ValueChangedEvent<IAudioMixer> mixer) 57 59 {