midiparse: Update duration
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 21 Mar 2013 14:00:16 +0000 (15:00 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 21 Mar 2013 14:00:16 +0000 (15:00 +0100)
commit5492631d848bc90eb2be97619f88a3a6ab1479ad
treefc1c946f835882a656dbbd84718fd166662c7875
parent76080b78af779a12601a9d50440638ce789cf65c
midiparse: Update duration

Rework things a bit so that we can run over the midi events and fire callbacks
for each of them. We can then use that for calculating the duration and also for
doing playback.
Only parse as many tracks as specified in the header.
Fix default tempo;
Send MIDI tick events every 10ms
gst/midi/midiparse.c
gst/midi/midiparse.h