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

Windows: Support mpg123 1.28.1 and newer #2749

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

Ghabry
Copy link
Member

@Ghabry Ghabry commented Mar 14, 2022

Untested, lets see what Jenkins says...

@Ghabry Ghabry added this to the 0.7.1 milestone Mar 14, 2022
@Ghabry
Copy link
Member Author

Ghabry commented Mar 14, 2022

It fixed Windows but breaks everything else 😊

With this release they added mpg123_ssize_t but this cannot be used because
they forgot to bump MPG123_API_VERSION.

Instead the underlying types were hardcoded.
@Ghabry Ghabry force-pushed the windows/mpg123-fix branch from fcdf5be to 2151812 Compare March 14, 2022 23:19
@Ghabry
Copy link
Member Author

Ghabry commented Mar 14, 2022

Stupid: This is a breaking change but they did not bump MPG123_API_VERSION making it impossible to use #ifdef here.

Instead I hardcoded the underlying type.

Similiar to the SDL2_Mixer solution: libsdl-org/SDL_mixer@ff4eac9

@Ghabry Ghabry merged commit 87a19c2 into EasyRPG:master Mar 16, 2022
@Ghabry Ghabry deleted the windows/mpg123-fix branch May 29, 2022 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants