Use OpenAL Soft on macOS

Fixes #6148
This commit is contained in:
PJB3005
2025-08-18 22:38:02 +02:00
parent da28bdbce5
commit 6d229a3eb2

View File

@@ -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
}
}
}