diff --git a/BizHawk.Emulation.Common/Base Implementations/NullEmulator.cs b/BizHawk.Emulation.Common/Base Implementations/NullEmulator.cs index 5175c9a0f5..df65bfcbc3 100644 --- a/BizHawk.Emulation.Common/Base Implementations/NullEmulator.cs +++ b/BizHawk.Emulation.Common/Base Implementations/NullEmulator.cs @@ -110,15 +110,6 @@ namespace BizHawk.Emulation.Common } } - public class NullSound : ISoundProvider - { - public static readonly NullSound SilenceProvider = new NullSound(); - - public void GetSamples(short[] samples) { } - public void DiscardSamples() { } - public int MaxVolume { get; set; } - } - #region super tone generator class Pleg diff --git a/BizHawk.Emulation.Common/Base Implementations/NullSound.cs b/BizHawk.Emulation.Common/Base Implementations/NullSound.cs new file mode 100644 index 0000000000..cae848d75c --- /dev/null +++ b/BizHawk.Emulation.Common/Base Implementations/NullSound.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace BizHawk.Emulation.Common +{ + public class NullSound : ISoundProvider + { + public static readonly NullSound SilenceProvider = new NullSound(); + + public void GetSamples(short[] samples) { } + public void DiscardSamples() { } + public int MaxVolume { get; set; } + } +} diff --git a/BizHawk.Emulation.Common/BizHawk.Emulation.Common.csproj b/BizHawk.Emulation.Common/BizHawk.Emulation.Common.csproj index 4f8f6c4705..5df5c5e884 100644 --- a/BizHawk.Emulation.Common/BizHawk.Emulation.Common.csproj +++ b/BizHawk.Emulation.Common/BizHawk.Emulation.Common.csproj @@ -52,6 +52,7 @@ +