MIDI Tracer connects to ports, remove unused tracer port

This commit is contained in:
Robin Gareus 2022-12-11 12:53:57 +01:00
parent 39c324b620
commit 5637e811f9
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 0 additions and 4 deletions

View File

@ -65,9 +65,6 @@ MidiTracer::MidiTracer ()
{
g_atomic_int_set (&_update_queued, 0);
std::string portname (string_compose(X_("MIDI Tracer %1"), ++window_count));
tracer_port = ARDOUR::AudioEngine::instance()->register_input_port (ARDOUR::DataType::MIDI, portname, false, ARDOUR::IsInput);
ARDOUR::AudioEngine::instance()->PortRegisteredOrUnregistered.connect
(_manager_connection, invalidator (*this), boost::bind (&MidiTracer::ports_changed, this), gui_context());

View File

@ -97,7 +97,6 @@ private:
PBD::ScopedConnection _manager_connection;
MIDI::Parser my_parser;
boost::shared_ptr<ARDOUR::Port> tracer_port;
boost::shared_ptr<ARDOUR::MidiPort> traced_port;
static unsigned int window_count;