summaryrefslogtreecommitdiff
path: root/libs/ardour/audioengine.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-07-24 08:36:04 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-07-24 08:36:04 -0400
commit3d95822716d2e52b54a5bdbe7be4478ab034f8db (patch)
tree258f77985dda0c2cd5980e44a2bd8459d85cf0ec /libs/ardour/audioengine.cc
parent17588cc9be3522c806d4c9b734714e0b164b5ae2 (diff)
more miscellaneous changes for audioengine, all of this is still far from actually compiling
Diffstat (limited to 'libs/ardour/audioengine.cc')
-rw-r--r--libs/ardour/audioengine.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc
index 1166b906f8..25a55b5aaf 100644
--- a/libs/ardour/audioengine.cc
+++ b/libs/ardour/audioengine.cc
@@ -70,7 +70,6 @@ AudioEngine::AudioEngine ()
, port_remove_in_progress (false)
, m_meter_thread (0)
, _main_thread (0)
- , ports (new Ports)
{
g_atomic_int_set (&m_meter_exit, 0);
@@ -330,7 +329,7 @@ AudioEngine::process_callback (pframes_t nframes)
bool x;
- if (i->second->last_monitor() != (x = i->second->jack_monitoring_input ())) {
+ if (i->second->last_monitor() != (x = i->second->monitoring_input ())) {
i->second->set_last_monitor (x);
/* XXX I think this is dangerous, due to
a likely mutex in the signal handlers ...
@@ -878,9 +877,9 @@ AudioEngine::reset_timebase ()
GET_PRIVATE_JACK_POINTER_RET (_jack, -1);
if (_session) {
if (_session->config.get_jack_time_master()) {
- return jack_set_timebase_callback (_priv_jack, 0, _jack_timebase_callback, this);
+ _backend->set_time_master (true);
} else {
- return jack_release_timebase (_jack);
+ _backend->set_time_master (false);
}
}
return 0;