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

Support using libogg from Xiph as alternative ogg decoder #101

Open
ericoporto opened this issue Oct 11, 2024 · 4 comments
Open

Support using libogg from Xiph as alternative ogg decoder #101

ericoporto opened this issue Oct 11, 2024 · 4 comments

Comments

@ericoporto
Copy link
Contributor

It would be nice if it was possible to use libogg from Xiph instead of the internal ogg decoder to avoid the issues it currently has. This is similar to what is possible currently with SDL_Mixer.

@sezero
Copy link
Collaborator

sezero commented Oct 11, 2024

The stable-1.0 branch has that already, and it can already be configured to build against SDL2.0 instead of SDL1.2.

@ericoporto
Copy link
Contributor Author

ericoporto commented Oct 11, 2024

The current main is already ported to SDL3, so going back to that sounds like a bad idea.

Plus all the other formats mostly works fine, it's just ogg that keeps giving issues.

@sezero
Copy link
Collaborator

sezero commented Oct 11, 2024

The current main is already ported to SDL3,

Really? Where?

@ericoporto
Copy link
Contributor Author

Here: https://github.com/Astrabit-ST/SDL3_sound

But other approach would be some plugin like way where I could override a decoder with one of my own or just add a decoder if I implement an API and if the file format matches an existing one then it would use my decoder instead of the built-in one.

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