MIDI Tracer connects to ports, remove unused tracer port
This commit is contained in:
parent
39c324b620
commit
5637e811f9
|
@ -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());
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user