summaryrefslogtreecommitdiff
path: root/drumgizmo/enginefactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/enginefactory.cc')
-rw-r--r--drumgizmo/enginefactory.cc6
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;
}