Revert "Force DummySoundOutput on Mono for now"

This reverts commit aaa75a19aa.
This commit is contained in:
YoshiRulz 2020-05-15 15:13:09 +10:00
parent 00aebc110c
commit fd9da66a85
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
2 changed files with 2 additions and 3 deletions

View File

@ -230,7 +230,7 @@ namespace BizHawk.Client.Common
public int DispCropBottom { get; set; } = 0;
// Sound options
public ESoundOutputMethod SoundOutputMethod { get; set; } = DetectDirectX() ? ESoundOutputMethod.DirectSound : ESoundOutputMethod.Dummy; // with OpenAL, Mono is trying to load openal.dll for some reason
public ESoundOutputMethod SoundOutputMethod { get; set; } = DetectDirectX() ? ESoundOutputMethod.DirectSound : ESoundOutputMethod.OpenAL;
public bool SoundEnabled { get; set; } = true;
public bool SoundEnabledNormal { get; set; } = true;
public bool SoundEnabledRWFF { get; set; } = true;

View File

@ -25,8 +25,7 @@ namespace BizHawk.Client.EmuHawk
if (OSTailoredCode.IsUnixHost)
{
// at the moment unix/mono can only support OpenAL (so ignore whatever is set in the config)
// _outputDevice = new OpenALSoundOutput(this);
// scratch that it's trying to load openal.dll for some reason
_outputDevice = new OpenALSoundOutput(this);
}
else
{