lp:~mgiuca/fluidsynth/midi-buffer

Created by Matt Giuca and last modified

A branch for adding a new function to the FluidSynth API, fluid_player_add_mem, which allows a MIDI file to be loaded from a buffer in memory, rather than a file on disk. Requires extensive internal changes.

Discussion thread:
http://lists.nongnu.org/archive/html/fluid-dev/2010-10/msg00080.html

Get this branch:
bzr branch lp:~mgiuca/fluidsynth/midi-buffer
Only Matt Giuca can upload to this branch. If you are Matt Giuca please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Matt Giuca
Project:
FluidSynth
Status:
Merged

Recent revisions

360. By Matt Giuca

midi: Use FLUID_MEMCPY instead of memcpy.

359. By Matt Giuca

midi: Changed fluid_midi_file buf_end and buf_ptr pointers to buf_len and buf_pos integers.
These make it easier to think about buffer operations (suggested by David Henningson).

358. By Matt Giuca

midi: Changed memory allocation policy of fluid_player_add_mem.
Previously 'stole' the pointer, now copies the memory. It is now the caller's responsibility to free, but they can do so immediately.
Updated documentation and examples to match the new usage.

357. By Matt Giuca

Merge from trunk.

356. By Matt Giuca

midi: fluid_file_read_full now does proper error checking for file and alloc operations.

355. By Matt Giuca

midi: fluid_file_read_full: Rewrote, so it determines the file size in advance, allocates and reads in one try, rather than reading pieces and re-allocating if necessary.

354. By Matt Giuca

midi: fluid_midi_file's buffer pointers are now const (since they are borrowed pointers).

353. By Matt Giuca

midi: fluid_file_read_full: length is now a size_t* rather than an int*.

352. By Matt Giuca

fluidsynth-v11-devdoc.txt: Added a new section (on front page) 'Playing a MIDI file from memory', which explains with a full example how to use the new API fluid_player_add_mem.

351. By Matt Giuca

midi: Added new API function fluid_player_add_mem. Includes documentation.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers