diff options
Diffstat (limited to 'drumgizmo/enginefactory.h')
-rw-r--r-- | drumgizmo/enginefactory.h | 8 |
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); |