[pulseaudio-commits] src/modules

Arun Raghavan arun at kemper.freedesktop.org
Mon Nov 14 23:23:35 PST 2011


 src/modules/echo-cancel/module-echo-cancel.c |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 4b7b2445649638dcdf5c2e6919133b52d70562cb
Author: Arun Raghavan <arun.raghavan at collabora.co.uk>
Date:   Tue Nov 15 12:50:10 2011 +0530

    echo-cancel: Use speex by default if webrtc isn't available
    
    Thanks to Peter Meerwald <pmeerw at pmeerw.net> for pointing this out.
    
    Bug: https://bugs.freedesktop.org/show_bug.cgi?id=42925

diff --git a/src/modules/echo-cancel/module-echo-cancel.c b/src/modules/echo-cancel/module-echo-cancel.c
index 7db2cba..c063734 100644
--- a/src/modules/echo-cancel/module-echo-cancel.c
+++ b/src/modules/echo-cancel/module-echo-cancel.c
@@ -89,7 +89,11 @@ typedef enum {
 #endif
 } pa_echo_canceller_method_t;
 
+#if HAVE_WEBRTC
 #define DEFAULT_ECHO_CANCELLER "webrtc"
+#else
+#define DEFAULT_ECHO_CANCELLER "speex"
+#endif
 
 static const pa_echo_canceller ec_table[] = {
     {



More information about the pulseaudio-commits mailing list