do not attempt to clear a (JACK) MIDI port buffer after registering the port, this...
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 14 Oct 2010 13:10:42 +0000 (13:10 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 14 Oct 2010 13:10:42 +0000 (13:10 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7896 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/midi++2/port.cc

index 673cc259aaa24cf66240f4cd2eccd044583e3d59..12fa2f017954a09f62083f4309f75e04855a8782 100644 (file)
@@ -401,7 +401,7 @@ Port::create_port ()
 {
        _jack_port = jack_port_register(_jack_client, _tagname.c_str(), JACK_DEFAULT_MIDI_TYPE, _flags, 0);
        if (_jack_port) {
-               jack_midi_clear_buffer (jack_port_get_buffer (_jack_port, jack_get_buffer_size (_jack_client)));
+               // jack_midi_clear_buffer (jack_port_get_buffer (_jack_port, jack_get_buffer_size (_jack_client)));
        }
 
        return _jack_port == 0 ? -1 : 0;