summaryrefslogtreecommitdiff
path: root/drumgizmo/enginefactory.h
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-01-22 11:59:00 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 09:03:16 +0100
commitef3a90f4ba8d65e8c210898c48acd3a07eafaf4c (patch)
tree0fdfe740b33f8f85eccb588f4577c1115a5d54be /drumgizmo/enginefactory.h
parent06d43e27c412083cf704af48ea40e5c589504240 (diff)
added JackaudioOutputEngine
Diffstat (limited to 'drumgizmo/enginefactory.h')
-rw-r--r--drumgizmo/enginefactory.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/drumgizmo/enginefactory.h b/drumgizmo/enginefactory.h
index 613e49f..93ce67b 100644
--- a/drumgizmo/enginefactory.h
+++ b/drumgizmo/enginefactory.h
@@ -31,8 +31,12 @@
#include "audioinputengine.h"
#include "audiooutputengine.h"
+// todo: ifdef jack enabled
+#include "jackclient.h"
+
+using JackClientPtr = std::unique_ptr<JackClient>;
using InputEnginePtr = std::unique_ptr<AudioInputEngine>;
using OutputEnginePtr = std::unique_ptr<AudioOutputEngine>;
-InputEnginePtr createInputEngine(std::string const & name);
-OutputEnginePtr createOutputEngine(std::string const & name);
+InputEnginePtr createInputEngine(JackClientPtr& jack, std::string const & name);
+OutputEnginePtr createOutputEngine(JackClientPtr& jack, std::string const & name);