Skip to content

Properly loop MIDI tracks #338

Description

@afritz1

The music has never looped seamlessly. The current way was implemented like 10 years ago and I think it just tells WildMIDI to play the track to the end before manually starting it over. The new way should ideally use a WildMIDI function to make it seek to the beginning in a way that there's no gap with what WildMidi_GetOutput() is producing.

Relevant files:

bool fillBuffer(ALuint bufid, Span<char> buffer)

size_t WildMidiSong::read(char *buffer, size_t count)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions