From a4fafaeab2e49cb595d2bed93acb7e65fd36e239 Mon Sep 17 00:00:00 2001 From: Henry Lin Date: Sat, 5 Feb 2022 11:42:24 +0800 Subject: [PATCH] Create `AudioMixerVirtual` --- .../Audio/Mixing/AudioMixerVirtual.cs | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 osu.Framework/Audio/Mixing/AudioMixerVirtual.cs diff --git a/osu.Framework/Audio/Mixing/AudioMixerVirtual.cs b/osu.Framework/Audio/Mixing/AudioMixerVirtual.cs new file mode 100644 index 0000000000..497bbf3f62 --- /dev/null +++ b/osu.Framework/Audio/Mixing/AudioMixerVirtual.cs @@ -0,0 +1,28 @@ +// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. +// See the LICENCE file in the repository root for full licence text. + +#nullable enable + +using ManagedBass; +using osu.Framework.Bindables; + +namespace osu.Framework.Audio.Mixing +{ + public class AudioMixerVirtual : AudioMixer + { + public AudioMixerVirtual() + : base(null, nameof(AudioMixerVirtual)) + { + } + + public override BindableList Effects { get; } = new BindableList(); + + protected override void AddInternal(IAudioChannel channel) + { + } + + protected override void RemoveInternal(IAudioChannel channel) + { + } + } +}