Re: [fluid-dev] Making MIDI player read from a buffer
From:
Matt Giuca
Subject:
Re: [fluid-dev] Making MIDI player read from a buffer
Date:
Sun, 20 Feb 2011 17:27:28 +1100
I have updated the midi-buffer branch with the previous two suggestions: 1. fluid_player_add_mem now copies the buffer before it stores it, so the caller can now free it immediately (and it is now the caller's responsibility to free).
2. Internally, fluid_midi_file now uses int buf_len and buf_pos instead of pointers. This just makes things a little easier to think about.