From 06d43e27c412083cf704af48ea40e5c589504240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gl=C3=B6ckner?= Date: Fri, 22 Jan 2016 09:39:50 +0100 Subject: stdcerr output overhaul --- drumgizmo/enginefactory.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'drumgizmo/enginefactory.cc') 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 + #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; } -- cgit v1.2.3