echo-cancel: Output echo canceller name if invalid
authorPeter Meerwald <p.meerwald@bct-electronic.com>
Wed, 13 Feb 2013 16:26:52 +0000 (17:26 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 14 Feb 2013 13:25:29 +0000 (15:25 +0200)
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
src/modules/echo-cancel/module-echo-cancel.c

index 4a36bb0..8ce6330 100644 (file)
@@ -1623,7 +1623,7 @@ static int init_common(pa_modargs *ma, struct userdata *u, pa_sample_spec *sourc
 
     ec_string = pa_modargs_get_value(ma, "aec_method", DEFAULT_ECHO_CANCELLER);
     if ((ec_method = get_ec_method_from_string(ec_string)) < 0) {
-        pa_log("Invalid echo canceller implementation");
+        pa_log("Invalid echo canceller implementation '%s'", ec_string);
         goto fail;
     }