summaryrefslogtreecommitdiff
path: root/libs/ardour/audioengine.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-04-30 16:04:22 +0200
committerRobin Gareus <robin@gareus.org>2018-04-30 16:05:04 +0200
commit11b02e90ac9b084cd25741b7a6bdc91c59749c16 (patch)
treefb223322e77430c78e376590dce3873f8d0c20cc /libs/ardour/audioengine.cc
parent6690e4d39dca8a68c59b26a6732f22c43af4db74 (diff)
NO-OP: a ToDo comment for discussion
Diffstat (limited to 'libs/ardour/audioengine.cc')
-rw-r--r--libs/ardour/audioengine.cc15
1 files changed, 10 insertions, 5 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc
index 23e525dd61..83919bbe6a 100644
--- a/libs/ardour/audioengine.cc
+++ b/libs/ardour/audioengine.cc
@@ -358,11 +358,16 @@ AudioEngine::process_callback (pframes_t nframes)
}
if (!_freewheeling || Freewheel.empty()) {
- // run a list of slaves here
- // - multiple slaves (ow_many_dsp_threads() in paralell)
- // - session can pick one (ask for position & speed)
- // - GUI can display all
- Port::set_speed_ratio (_session->engine_speed ());
+ // TODO: Run a list of slaves here
+ // - multiple TC slaves (how_many_dsp_threads() in parallel)
+ // (note this can be multiple slaves of each type. e.g.
+ // 3 LTC slaves on different ports, 2 MTC..)
+ // - GUI can display all slaves, user picks one.
+ // - active "slave" is a session property.
+ // - here we ask the session about the active slave
+ // and get playback speed (for this cycle) here.
+ // - Internal Transport is-a Slave too (!)
+ Port::set_speed_ratio (_session->engine_speed ()); // HACK
}
/* tell all relevant objects that we're starting a new cycle */