diff options
author | Christian Glöckner <cgloeckner@freenet.de> | 2016-01-22 09:39:50 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-02-09 09:03:16 +0100 |
commit | 06d43e27c412083cf704af48ea40e5c589504240 (patch) | |
tree | 37b5cc357eaa6cdad9b599fcad472866a51e6137 /drumgizmo/enginefactory.cc | |
parent | 5b8b9365bab673aae6dea10b7c231fcff5fea665 (diff) |
stdcerr output overhaul
Diffstat (limited to 'drumgizmo/enginefactory.cc')
-rw-r--r-- | drumgizmo/enginefactory.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drumgizmo/enginefactory.cc b/drumgizmo/enginefactory.cc index 5fa230b..c9f2ef3 100644 --- a/drumgizmo/enginefactory.cc +++ b/drumgizmo/enginefactory.cc @@ -24,6 +24,8 @@ * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#include <iostream> + #include "enginefactory.h" #include "jackclient.h" @@ -61,7 +63,7 @@ InputEnginePtr createInputEngine(std::string const & name) { // todo: add more engines - printf("Unsupported input engine: %s\n", name.c_str()); + std::cerr << "Unsupported input engine '" << name << "'\n"; return nullptr; } @@ -84,6 +86,6 @@ OutputEnginePtr createOutputEngine(std::string const & name) { // todo: add more engines - printf("Unsupported output engine: %s\n", name.c_str()); + std::cerr << "Unsupported output engine '" << name << "'\n"; return nullptr; } |