From f495b5318c5eea3a90a90fd919072a1b4e4716cf Mon Sep 17 00:00:00 2001 From: Tobias Schulz Date: Sun, 9 Mar 2014 17:27:27 +0100 Subject: [PATCH] .NET doesn't use dllmaps --- SDL2-CS.dll.config | 6 +++--- src/MiniTK/Audio/AudioCapture.cs | 2 +- src/MiniTK/Audio/AudioContext.cs | 2 +- src/MiniTK/Audio/OpenAL/AL/AL.cs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) 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