From b475fda66e1c06a86dc2680a7777862393d45ffe Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 21 Sep 2016 23:02:38 -0500 Subject: PortManager::silence() should not clear data in AsyncMIDIPorts This data was generated asynchronously and is not required to be "silenced" the way that session data would be. Compare also to the similar tests for sync-related MIDI ports --- libs/ardour/port_manager.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/ardour/port_manager.cc') diff --git a/libs/ardour/port_manager.cc b/libs/ardour/port_manager.cc index 10c19a9c67..a5af8f2fe1 100644 --- a/libs/ardour/port_manager.cc +++ b/libs/ardour/port_manager.cc @@ -684,6 +684,9 @@ PortManager::silence (pframes_t nframes, Session *s) if (s && i->second == s->ltc_output_port ()) { continue; } + if (boost::dynamic_pointer_cast(i->second)) { + continue; + } if (i->second->sends_output()) { i->second->get_buffer(nframes).silence(nframes); } -- cgit v1.2.3