diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-10-14 13:10:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-10-14 13:10:42 +0000 |
commit | 58416460adac46c97b10ecc7ddd832526f54c23d (patch) | |
tree | 6976a07a2715ee0776b9f2188995ce83ff8457d3 /libs/midi++2/port.cc | |
parent | b6f1f02131d99392899cd394f1fb408438b1dd58 (diff) |
do not attempt to clear a (JACK) MIDI port buffer after registering the port, this is not a legal access to a JACK port buffer
git-svn-id: svn://localhost/ardour2/branches/3.0@7896 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/midi++2/port.cc')
-rw-r--r-- | libs/midi++2/port.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/midi++2/port.cc b/libs/midi++2/port.cc index 673cc259aa..12fa2f0179 100644 --- a/libs/midi++2/port.cc +++ b/libs/midi++2/port.cc @@ -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; |