From 6d229a3eb2712821d78a78ea689a5636f4501b5e Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Mon, 18 Aug 2025 22:38:02 +0200 Subject: [PATCH] Use OpenAL Soft on macOS Fixes #6148 --- Robust.Client/Utility/ClientDllMap.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Robust.Client/Utility/ClientDllMap.cs b/Robust.Client/Utility/ClientDllMap.cs index 3863cea0a..8db4a4073 100644 --- a/Robust.Client/Utility/ClientDllMap.cs +++ b/Robust.Client/Utility/ClientDllMap.cs @@ -2,6 +2,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using OpenTK.Audio.OpenAL; using SDL3; namespace Robust.Client.Utility @@ -40,6 +41,10 @@ namespace Robust.Client.Utility return IntPtr.Zero; }); + +#if MACOS + OpenALLibraryNameContainer.OverridePath = "libopenal.1.dylib"; +#endif } } }