-
-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenAL ReopenDevices extension doesn't work #1823
Comments
It would appear that this is a bug, this should be a context extension. |
Unfortunately it's still not working, even after changing it to a context extension. Strangely, I'm able to successfully call the underlying function by doing this:
|
@okaniku Can you compare the results of Relevant code: https://github.com/dotnet/Silk.NET/blob/main/src/OpenAL/Silk.NET.OpenAL/ALC/ALContext.cs#L98 |
Calling
|
Summary
The OpenAL ReopenDevices extension doesn't seem to work.
Steps to reproduce
After setting a current context, and calling
reopenDevices.ReopenDevice(device, deviceName, attrList);
I get 'Native symbol not found (Symbol: alcReopenDeviceSOFT)'
Comments
I'm wondering whether it's because this is an ALC prefixed extension, and the extension class derives from
NativeExtension<AL>
rather thanContextExtensionBase
.Ref: https://github.com/dotnet/Silk.NET/blob/main/src/OpenAL/Extensions/Silk.NET.OpenAL.Extensions.Soft/ReopenDevices.cs
Interestingly, getting the extension in the first place works fine from the AL API:
Is this a bug or something I'm doing wrong?
The text was updated successfully, but these errors were encountered: