[pulseaudio-commits] Branch 'next' - src/modules

Arun Raghavan arun at kemper.freedesktop.org
Sun Sep 3 07:57:27 UTC 2017


 src/modules/module-always-source.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit df62e01967812fc83034ec613e3ddbcf1ef58e19
Author: Arun Raghavan <arun at arunraghavan.net>
Date:   Sun Sep 3 13:26:14 2017 +0530

    always-source: Fix pa_module_load() usage
    
    The API changed slightly since the original patch was written.

diff --git a/src/modules/module-always-source.c b/src/modules/module-always-source.c
index 09ac7aa5..5c1f22aa 100644
--- a/src/modules/module-always-source.c
+++ b/src/modules/module-always-source.c
@@ -80,7 +80,7 @@ static void load_null_source_if_needed(pa_core *c, pa_source *source, struct use
     u->ignore = true;
 
     t = pa_sprintf_malloc("source_name=%s", u->source_name);
-    m = pa_module_load(c, "module-null-source", t);
+    pa_module_load(&m, c, "module-null-source", t);
     u->null_module = m ? m->index : PA_INVALID_INDEX;
     pa_xfree(t);
 



More information about the pulseaudio-commits mailing list