Skip to content
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

SharpAudio #3619

Closed
Closed

Conversation

CasualPokePlayer
Copy link
Member

@CasualPokePlayer CasualPokePlayer commented Apr 9, 2023

Knocks out audio stuff from SlimDX/OpenTK to one package (see #2261). See here for the modifications done: https://github.com/CasualPokePlayer/SharpAudio/tree/netstandard20. Dunno what to do with the modified fork in terms of the BizHawk repo (should it just be slapped in a submodule? a link just placed somewhere? should it go to TASEmulators org?). Leaving this draft for now (as far as I can tell though it just works)

EDIT: Also CI fails for whatever reason lol

EDIT2: It might actually not work, after a rebuild it is failing for me. I suspect actually it's related to the latest commit which I am yet checking, I would guess things were not getting rebuilt properly so it was still using old code?

@vadosnaprimer
Copy link
Contributor

TASEmulators fork + submodule sounds the sanest.

…ns, audio playback doesn't work and crashes half the time, and OpenAL crashes because ???
@CasualPokePlayer
Copy link
Member Author

After further use of this library, I don't think this is a good choice for us. In debugging I found multiple issues throughout the library, some of which seem to just indicate the lack of actual use (e.g. OpenAL disposing will always crash due to faulty dispose code). Using Vortice directly seems to be a better option for our needs (for XAudio2 at least).

This isn't a complete loss at least, the device enumeration issue has been figured out, and was using Vortice's bindings so it would be a copy paste to port it over.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants