summaryrefslogtreecommitdiff
path: root/libs/ardour/ticker.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-09-05 13:22:34 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-09-05 13:22:34 -0400
commit1c49138e0099db37931b34fad552b43c332e187d (patch)
treeb3ebb558e8b055695fff674114272f7a28792bda /libs/ardour/ticker.cc
parentfee626c386ccc23c41b7b2976c5031cd335b7587 (diff)
move MidiPortManager from AudioEngine to Session
This makes the responsibilities and ownership of non-Route related MIDI ports more clear, and removes a few wierd bits of code. It also ensures that open/close/open on the same session will retain connections for those MIDI ports
Diffstat (limited to 'libs/ardour/ticker.cc')
-rw-r--r--libs/ardour/ticker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ticker.cc b/libs/ardour/ticker.cc
index 0ed4427b72..9a29df2641 100644
--- a/libs/ardour/ticker.cc
+++ b/libs/ardour/ticker.cc
@@ -150,7 +150,7 @@ MidiClockTicker::session_going_away ()
void
MidiClockTicker::update_midi_clock_port()
{
- _midi_port = AudioEngine::instance()->midi_clock_output_port();
+ _midi_port = _session->midi_clock_output_port();
}
void