diff --git a/SDL2-CS.dll.config b/SDL2-CS.dll.config index 93d0cf9..9e4db74 100644 --- a/SDL2-CS.dll.config +++ b/SDL2-CS.dll.config @@ -16,7 +16,7 @@ - - - + + + diff --git a/src/MiniTK/Audio/AudioCapture.cs b/src/MiniTK/Audio/AudioCapture.cs index d7af774..72aff8d 100644 --- a/src/MiniTK/Audio/AudioCapture.cs +++ b/src/MiniTK/Audio/AudioCapture.cs @@ -80,7 +80,7 @@ namespace OpenTK.Audio public AudioCapture(string deviceName, int frequency, ALFormat sampleFormat, int bufferSize) { if (!AudioDeviceEnumerator.IsOpenALSupported) - throw new DllNotFoundException("openal32.dll"); + throw new DllNotFoundException("soft_oal.dll"); if (frequency <= 0) throw new ArgumentOutOfRangeException("frequency"); if (bufferSize <= 0) diff --git a/src/MiniTK/Audio/AudioContext.cs b/src/MiniTK/Audio/AudioContext.cs index 9495d08..4655c02 100644 --- a/src/MiniTK/Audio/AudioContext.cs +++ b/src/MiniTK/Audio/AudioContext.cs @@ -252,7 +252,7 @@ namespace OpenTK.Audio void CreateContext(string device, int freq, int refresh, bool sync, bool enableEfx, MaxAuxiliarySends efxAuxiliarySends) { if (!AudioDeviceEnumerator.IsOpenALSupported) - throw new DllNotFoundException("openal32.dll"); + throw new DllNotFoundException("soft_oal.dll"); if (AudioDeviceEnumerator.Version == AudioDeviceEnumerator.AlcVersion.Alc1_1 && AudioDeviceEnumerator.AvailablePlaybackDevices.Count == 0) // Alc 1.0 does not support device enumeration. throw new NotSupportedException("No audio hardware is available."); diff --git a/src/MiniTK/Audio/OpenAL/AL/AL.cs b/src/MiniTK/Audio/OpenAL/AL/AL.cs index 397e99f..59fcb04 100644 --- a/src/MiniTK/Audio/OpenAL/AL/AL.cs +++ b/src/MiniTK/Audio/OpenAL/AL/AL.cs @@ -76,7 +76,7 @@ namespace OpenTK.Audio.OpenAL #region Constants - internal const string Lib = "openal32.dll"; + internal const string Lib = "soft_oal.dll"; internal const CallingConvention Style = CallingConvention.Cdecl; #endregion Constants