Skip to content
Snippets Groups Projects

libopenmpt library support

Closed SteelT requested to merge public-musicplus-libopenmpt into next

This merge requests adds support for libopenmpt, a cross-platform C++ and C library to decode tracked music files (modules). The difference compared to the internal library SDL_Mixer uses is that it's more accurate, supporting more formats. This also supports proper looping, and changing the tempo of the song(Note that the library only supports values of 0 to 4, as float. Anything higher will just silently error out and do nothing else). Since modifying SDL_Mixer directly is out of the question, this basically runs in place. When the loaded music is detected to be module based, control is automatically passed to the library.

A example wad is provided. tunes test1 to test4 in console.

libopenmpt-test.wad

Edited by SteelT

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading