summaryrefslogtreecommitdiff
path: root/libs/ardour/jack_midi_port.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/jack_midi_port.cc')
-rw-r--r--libs/ardour/jack_midi_port.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/libs/ardour/jack_midi_port.cc b/libs/ardour/jack_midi_port.cc
index e943a6a190..7dbb8655f6 100644
--- a/libs/ardour/jack_midi_port.cc
+++ b/libs/ardour/jack_midi_port.cc
@@ -27,13 +27,16 @@ JackMidiPort::JackMidiPort (const std::string& name, Flags flgs, MidiBuffer* buf
{
if (buf) {
+ cout << name << " BUFFER" << endl;
+
_buffer = buf;
_own_buffer = false;
} else {
- /* data space will be provided by JACK */
+ cout << name << " NO BUFFER" << endl;
+ /* data space will be provided by JACK */
_buffer = new MidiBuffer (0);
_own_buffer = true;
}
@@ -68,8 +71,8 @@ JackMidiPort::cycle_start (nframes_t nframes, nframes_t offset_ignored_but_proba
assert(_buffer->size() == event_count);
- //if (_buffer->size() > 0)
- // cerr << "MIDIPort got " << event_count << " events." << endl;
+ if (_buffer->size() > 0)
+ cerr << "MIDIPort got " << event_count << " events." << endl;
}
void