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

Look into SDL_mixer #113

Open
Splendide-Imaginarius opened this issue Oct 31, 2023 · 4 comments
Open

Look into SDL_mixer #113

Splendide-Imaginarius opened this issue Oct 31, 2023 · 4 comments

Comments

@Splendide-Imaginarius
Copy link

SDL maintains SDL_mixer, which seems mildly similar to SDL_sound. We might want to look into whether SDL_mixer is better for us.

@Splendide-Imaginarius
Copy link
Author

SDL_mixer supports loop points natively, which might allow us to remove our own loop point parser. It also supports Opus and FLAC (with loop point support for both), which would solve #111 and #112.

@Ancurio
Copy link

Ancurio commented Nov 3, 2023

icculus/SDL_sound#24

@Splendide-Imaginarius
Copy link
Author

I looked into this today. The respective API's are quite different, and neither is really a drop-in replacement for the other. However, I think it should be possible to use SDL_mixer in mkxp-z with some work; I'm planning to try implementing this in the next few weeks.

@Splendide-Imaginarius
Copy link
Author

This would also solve #153, since SDL_mixer supports WavPack.

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

No branches or pull requests

2 participants