summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/AlsaMidiDriver.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-20 04:15:03 +0000
committerDavid Robillard <d@drobilla.net>2006-07-20 04:15:03 +0000
commitb5b6dba0480b3dcec4b130ea606d63f4a3854920 (patch)
tree22e3c06d815da7b33f6061253c94cf3621b37265 /src/libs/engine/AlsaMidiDriver.cpp
parent767b10d6fa3313b2bd4e1dcc0d96dda3409c4944 (diff)
downloadingen-b5b6dba0480b3dcec4b130ea606d63f4a3854920.tar.gz
ingen-b5b6dba0480b3dcec4b130ea606d63f4a3854920.tar.bz2
ingen-b5b6dba0480b3dcec4b130ea606d63f4a3854920.zip
Renamed Engine class to "Engine" (from "Ingen") to avoid confusion with namespace Ingen
git-svn-id: http://svn.drobilla.net/lad/ingen@99 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/AlsaMidiDriver.cpp')
-rw-r--r--src/libs/engine/AlsaMidiDriver.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libs/engine/AlsaMidiDriver.cpp b/src/libs/engine/AlsaMidiDriver.cpp
index 76d11ddb..f609ac52 100644
--- a/src/libs/engine/AlsaMidiDriver.cpp
+++ b/src/libs/engine/AlsaMidiDriver.cpp
@@ -18,9 +18,9 @@
#include <iostream>
#include <cstdlib>
#include <pthread.h>
-#include "Ingen.h"
+#include "Engine.h"
#include "types.h"
-#include "Ingen.h"
+#include "Engine.h"
#include "Maid.h"
#include "AudioDriver.h"
#include "MidiMessage.h"
@@ -119,7 +119,7 @@ void
AlsaMidiPort::event(snd_seq_event_t* const ev)
{
// Abuse the tick field to hold the timestamp
- ev->time.tick = Ingen::instance().audio_driver()->time_stamp();
+ ev->time.tick = Engine::instance().audio_driver()->time_stamp();
// Fix noteons with velocity 0 (required for DSSI spec)
if (ev->type == SND_SEQ_EVENT_NOTEON && ev->data.note.velocity == 0)
@@ -232,7 +232,7 @@ AlsaMidiDriver::activate()
bool success = false;
m_midi_thread_exit_flag = false;
- //if (Ingen::instance().audio_driver()->is_realtime()) {
+ //if (Engine::instance().audio_driver()->is_realtime()) {
pthread_attr_t attr;
pthread_attr_init(&attr);
@@ -267,7 +267,7 @@ AlsaMidiDriver::activate()
}
#ifdef HAVE_LASH
- Ingen::instance().lash_driver()->set_alsa_client_id(snd_seq_client_id(m_seq_handle));
+ Engine::instance().lash_driver()->set_alsa_client_id(snd_seq_client_id(m_seq_handle));
#endif
m_is_activated = true;