diff options
Diffstat (limited to 'drumgizmo/enginefactory.cc')
-rw-r--r-- | drumgizmo/enginefactory.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drumgizmo/enginefactory.cc b/drumgizmo/enginefactory.cc index d013ef9..a1b8a0b 100644 --- a/drumgizmo/enginefactory.cc +++ b/drumgizmo/enginefactory.cc @@ -63,6 +63,9 @@ EngineFactory::EngineFactory() #ifdef HAVE_OUTPUT_JACKAUDIO output.push_back("jackaudio"); #endif +#ifdef HAVE_OUTPUT_OSS + output.push_back("oss"); +#endif } #ifdef USE_JACK @@ -146,6 +149,12 @@ std::unique_ptr<AudioOutputEngine> EngineFactory::createOutput(const std::string return std::make_unique<JackAudioOutputEngine>(*jack); } #endif +#ifdef HAVE_OUTPUT_OSS + if(name == "oss") + { + return std::make_unique<OSSOutputEngine>(); + } +#endif // todo: add more engines |