aboutsummaryrefslogtreecommitdiffstats
path: root/audio/dino/files/patch-src-libdinoseq-mididbuffer.cpp
blob: d052388f538a0822d2c6ca8e708ffc7cce612625 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/libdinoseq/midibuffer.cpp.orig  2008-07-23 13:26:56.000000000 +0200
+++ src/libdinoseq/midibuffer.cpp   2008-07-23 13:27:11.000000000 +0200
@@ -55,7 +55,7 @@
     // XXX optimise this
     jack_nframes_t timestamp = jack_nframes_t((beat - m_start_beat) * 
                          60 / (m_bpm * m_samplerate));
-    return jack_midi_event_reserve(m_buffer, timestamp, data_size, m_nframes);
+    return jack_midi_event_reserve(m_buffer, timestamp, data_size);
   }
     
   
@@ -65,7 +65,7 @@
     jack_nframes_t timestamp = jack_nframes_t((beat - m_start_beat) * 
                          60 / (m_bpm * m_samplerate));
     return jack_midi_event_write(m_buffer, timestamp, (jack_midi_data_t*)data, 
-                data_size, m_nframes);
+                data_size);
   }