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

fix the audio format specification sdl-1.2 is using for 8-bit android audio #152

Open
wants to merge 2 commits into
base: sdl_android
Choose a base branch
from

Conversation

rakslice
Copy link

@rakslice rakslice commented Jan 15, 2025

The 8-bit audio data format that Android audio actually supports and works if you deliver bytes in that format here is not AUDIO_S8 (8-bit two's complement signed values) but rather AUDIO_U8 (8-bit offset binary values, what is normally called "unsigned"), so let's use that format ID.

If you don't want to have to change IDs in whatever else is using your sdl-1.2 all at once, you could instead keep AUDIO_S8 in the || list as well as AUDIO_U8, and take it out once the changeover of everything else is complete.

Goes with the other pull request for pelya/BasiliskII-android#7

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.

1 participant