summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/TransportNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/TransportNode.cpp')
-rw-r--r--src/libs/engine/TransportNode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/engine/TransportNode.cpp b/src/libs/engine/TransportNode.cpp
index 4f6abed6..be10dc99 100644
--- a/src/libs/engine/TransportNode.cpp
+++ b/src/libs/engine/TransportNode.cpp
@@ -22,7 +22,7 @@
#include "JackAudioDriver.h"
#include "Port.h"
#include "util.h"
-//#include "Ingen.h"
+//#include "Engine.h"
namespace Ingen {
@@ -86,8 +86,8 @@ TransportNode::run(size_t nframes)
#if 0
// FIXME: this will die horribly with any driver other than jack (in theory)
- const jack_position_t* const position = ((JackAudioDriver*)Ingen::instance().audio_driver())->position();
- jack_transport_state_t state = ((JackAudioDriver*)Ingen::instance().audio_driver())->transport_state();
+ const jack_position_t* const position = ((JackAudioDriver*)Engine::instance().audio_driver())->position();
+ jack_transport_state_t state = ((JackAudioDriver*)Engine::instance().audio_driver())->transport_state();
double bpm = position->beats_per_minute;
float bpb = position->beats_per_bar;
float spb = 60.0 / bpm;