mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-24 05:10:42 -04:00
Adds option to force openal
Adds in the option to force OpenAL. More specifically, adds in the code for the option to have an effect.
This commit is contained in:
parent
f7cba80bf8
commit
6b43c396bd
@ -125,7 +125,7 @@ namespace ClassicalSharp.Audio {
|
||||
}
|
||||
|
||||
IAudioOutput GetPlatformOut() {
|
||||
if (OpenTK.Configuration.RunningOnWindows)
|
||||
if (OpenTK.Configuration.RunningOnWindows && !Options.GetBool(OptionsKey.ForceOpenAL, false))
|
||||
return new WinMmOut();
|
||||
return new OpenALOut();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user