diff options
author | Christian Glöckner <cgloeckner@freenet.de> | 2016-01-25 15:51:53 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-02-09 09:03:17 +0100 |
commit | d3554736c13531898fb720b34772a595620e661a (patch) | |
tree | 85e6f76e2b37785405ddf6685801ab9e9f9125cb /drumgizmo/enginefactory.cc | |
parent | 100e2d3bd46f64df730c8a375559680c577036ef (diff) |
reformatting fix
Diffstat (limited to 'drumgizmo/enginefactory.cc')
-rw-r--r-- | drumgizmo/enginefactory.cc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/drumgizmo/enginefactory.cc b/drumgizmo/enginefactory.cc index b5368ac..e88f679 100644 --- a/drumgizmo/enginefactory.cc +++ b/drumgizmo/enginefactory.cc @@ -29,9 +29,11 @@ #include "cpp11fix.h" // required for c++11 #include "enginefactory.h" -EngineFactory::EngineFactory() : input{}, output {} +EngineFactory::EngineFactory() + : input{} + , output{} #ifdef USE_JACK -, jack { nullptr } + , jack { nullptr } #endif { // list available input engines @@ -70,18 +72,18 @@ void EngineFactory::prepareJack() } #endif -std::list<std::string> const &EngineFactory::getInputEngines() const +const std::list<std::string>& EngineFactory::getInputEngines() const { return input; } -std::list<std::string> const &EngineFactory::getOutputEngines() const +const std::list<std::string>& EngineFactory::getOutputEngines() const { return output; } std::unique_ptr<AudioInputEngine> -EngineFactory::createInput(std::string const &name) +EngineFactory::createInput(const std::string& name) { #ifdef HAVE_INPUT_DUMMY if (name == "dummy") @@ -110,7 +112,7 @@ EngineFactory::createInput(std::string const &name) } std::unique_ptr<AudioOutputEngine> -EngineFactory::createOutput(std::string const &name) +EngineFactory::createOutput(const std::string& name) { #ifdef HAVE_OUTPUT_DUMMY if (name == "dummy") |