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

Tweak to Audio Lock Fix (Fixes Vita Crashing as well) #14

Merged
merged 1 commit into from Jan 18, 2021

Conversation

SonicMastr
Copy link
Contributor

@SonicMastr SonicMastr commented Jan 18, 2021

While the previous fix works perfectly on platforms with an officially supported SDL2 library using the recommended methods, some platforms (including the Vita) will need to still use the Legacy SDL_Lock/UnlockAudio functions to alleviate the crashes. SDL_Lock/UnlockAudio is already used in Audio.hpp as well, so this makes sure everything is consistent.

This should not change anything functionally for all other platforms that support SDL2.

While the previous fix works perfectly on platforms with an officially supported SDL2 library using the recommended methods, some platforms (including the Vita) will need to still use the Legacy SDL_Lock/Unlock Audio functions to alleviate the crashes. SDL_Lock/Unlock Audio is already used in Audio.cpp as well, so this makes sure everything is consistent.
@Rubberduckycooly Rubberduckycooly merged commit eaf8e91 into Rubberduckycooly:main Jan 18, 2021
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