BizHawk/BizHawk.Emulation.Common/Base Implementations/NullSound.cs

12 lines
289 B
C#

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; }
}
}