From e96c36c1a7abb062e36efc0ac95c35fedcef922e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Apr 2007 06:04:32 +0000 Subject: De-template-ification of port types (req. for LV2 MIDI, but nice code size reduction). LV2 MIDI patching support (LV2 style MIDI throughout, inc. internal plugins). git-svn-id: http://svn.drobilla.net/lad/ingen@415 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/AudioDriver.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/libs/engine/AudioDriver.h') diff --git a/src/libs/engine/AudioDriver.h b/src/libs/engine/AudioDriver.h index 9128c2ed..d9807939 100644 --- a/src/libs/engine/AudioDriver.h +++ b/src/libs/engine/AudioDriver.h @@ -18,25 +18,27 @@ #ifndef AUDIODRIVER_H #define AUDIODRIVER_H -#include "Driver.h" -#include "types.h" #include #include +#include "Driver.h" +#include "types.h" +#include "DataType.h" namespace Ingen { class Patch; class AudioDriver; -template class TypedPort; +class Port; /** Audio driver abstract base class. * * \ingroup engine */ -class AudioDriver : public Driver +class AudioDriver : public Driver { public: + AudioDriver() : Driver(DataType::FLOAT) {} virtual void set_root_patch(Patch* patch) = 0; virtual Patch* root_patch() = 0; -- cgit v1.2.1