summaryrefslogtreecommitdiffstats
path: root/src/engine/MidiDriver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/MidiDriver.hpp')
-rw-r--r--src/engine/MidiDriver.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/MidiDriver.hpp b/src/engine/MidiDriver.hpp
index 75da9db5..da465293 100644
--- a/src/engine/MidiDriver.hpp
+++ b/src/engine/MidiDriver.hpp
@@ -26,6 +26,7 @@
namespace Ingen {
class ProcessContext;
+class AudioDriver;
/** Midi driver abstract base class.
@@ -37,6 +38,8 @@ class MidiDriver : public Driver
public:
MidiDriver() : Driver(DataType::EVENT) {}
+ virtual void attach(AudioDriver& master) {}
+
/** Prepare input for the specified (upcoming) cycle.
*
* Realtime safe, run in audio thread before executing the graph for a cycle.