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

Mix_MusicDuration issues. #591

Open
CicTec opened this issue Feb 1, 2024 · 1 comment
Open

Mix_MusicDuration issues. #591

CicTec opened this issue Feb 1, 2024 · 1 comment

Comments

@CicTec
Copy link

CicTec commented Feb 1, 2024

Hi,
It seems that the indicated function has several issues.

  1. Using Mix_MusicDuration with a Mix_Music object, this returns correct values for MP3 and OGG formats, while incorrect values for MIDI (for example a tested file should return 186 and returns 4294966)
  2. Using MixMusicDuration with NULL parameter, it should return the duration of the music being played, instead it returns the correct value for MP3 and OGG as point 1, while for MIDI it returns -1.

The version used is SDL 2.8.0, while the tests are carried out on the Windows 10 operating system.

@bilhox
Copy link

bilhox commented Sep 21, 2024

I'm leaving a message here since I also have the same issue with WAV format returning ~24300s. I'm on Windows 11.

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