A game framework written with osu! in mind.

Nullable annotate DrawableSample

+3 -1
+3 -1
osu.Framework/Graphics/Audio/DrawableSample.cs
··· 1 // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. 2 // See the LICENCE file in the repository root for full licence text. 3 4 using osu.Framework.Audio.Mixing; 5 using osu.Framework.Audio.Sample; 6 using osu.Framework.Bindables; ··· 51 52 public Bindable<int> PlaybackConcurrency { get; } = new Bindable<int>(Sample.DEFAULT_CONCURRENCY); 53 54 - private IAudioMixer mixer; 55 56 protected override void OnMixerChanged(ValueChangedEvent<IAudioMixer> mixer) 57 {
··· 1 // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. 2 // See the LICENCE file in the repository root for full licence text. 3 4 + #nullable enable 5 + 6 using osu.Framework.Audio.Mixing; 7 using osu.Framework.Audio.Sample; 8 using osu.Framework.Bindables; ··· 53 54 public Bindable<int> PlaybackConcurrency { get; } = new Bindable<int>(Sample.DEFAULT_CONCURRENCY); 55 56 + private IAudioMixer? mixer; 57 58 protected override void OnMixerChanged(ValueChangedEvent<IAudioMixer> mixer) 59 {