beast r4485 - trunk/bse
- From: stw svn gnome org
- To: svn-commits-list gnome org
- Subject: beast r4485 - trunk/bse
- Date: Sat, 11 Apr 2009 08:54:04 +0000 (UTC)
Author: stw
Date: Sat Apr 11 08:54:04 2009
New Revision: 4485
URL: http://svn.gnome.org/viewvc/beast?rev=4485&view=rev
Log:
Sat Apr 11 10:50:51 2009 Stefan Westerfeld <stefan space twc de>
* bsemidifile.c: Fixed control signal and pitch bend midi import.
Fixes #574242 - MIDI import doesn't import pitch bend and control signals
Modified:
trunk/bse/ChangeLog
trunk/bse/bsemidifile.c
Modified: trunk/bse/bsemidifile.c
==============================================================================
--- trunk/bse/bsemidifile.c (original)
+++ trunk/bse/bsemidifile.c Sat Apr 11 08:54:04 2009
@@ -249,12 +249,12 @@
BseTrack *ptrack)
{
BseMidiFileTrack *track = smf->tracks + nth_track;
- BseMidiSignalType msignal = 0;
guint i, j, dur, start = 0;
gfloat fvalue = 0;
for (i = 0; i < track->n_events; i++)
{
BseMidiEvent *event = track->events[i];
+ BseMidiSignalType msignal = 0;
start += event->delta_time;
switch (event->status)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]