Skip to content

Mix_MusicDuration issues. #591

Open
Open
@CicTec

Description

@CicTec

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions