Actually respect the no sound output config variable
This commit is contained in:
parent
04223d2c81
commit
b4517d8e0d
|
@ -21,6 +21,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
private IBufferedSoundProvider _bufferedProvider; // One of the preceding buffers, or null if no source is set
|
||||
|
||||
public Sound(IntPtr mainWindowHandle)
|
||||
{
|
||||
if (Global.Config.SoundOutputMethod != ESoundOutputMethod.Dummy)
|
||||
{
|
||||
if (OSTailoredCode.IsUnixHost)
|
||||
{
|
||||
|
@ -40,6 +42,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
if (_outputDevice == null)
|
||||
_outputDevice = new DummySoundOutput(this);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The maximum number of milliseconds the sound output buffer can go below full before causing a noticeable sound interruption.
|
||||
|
|
Loading…
Reference in New Issue