diff options
author | Yannick Gicquel <yannick.gicquel@iot.bzh> | 2016-09-23 15:29:39 +0200 |
---|---|---|
committer | Yannick Gicquel <yannick.gicquel@iot.bzh> | 2016-10-11 17:09:07 +0200 |
commit | 587104e6d5dea64e7b1eb2a8687ecbc5bde98c00 (patch) | |
tree | 9d3fdf7bba27bf4afe5b1b5daaacf8d3259d2c67 | |
parent | c37057813c150fa1857d8e975edde723339634d3 (diff) |
all: update pa_module_unload() call to PA 8.0 api
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
-rw-r--r-- | loopback.c | 4 | ||||
-rw-r--r-- | utils.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -85,7 +85,7 @@ agl_loopnode *agl_loopnode_create (struct userdata *u, agl_loopnode_type type, sinp = NULL; } if (!sout || !sinp) { - pa_module_unload (core, module, false); + pa_module_unload (module, false); return NULL; } @@ -105,7 +105,7 @@ void agl_loopnode_destroy (struct userdata *u, agl_loopnode *loopnode) if (u && (core = u->core)) { if ((module = pa_idxset_get_by_index (core->modules, loopnode->module_index))){ pa_log_info ("unloading loopback"); - pa_module_unload (core, module, false); + pa_module_unload (module, false); } pa_xfree (loopnode); } @@ -92,7 +92,7 @@ void agl_utils_destroy_null_sink (struct userdata *u, agl_null_sink *ns) if (u && (core = u->core)) { if ((module = pa_idxset_get_by_index (core->modules, ns->module_index))){ pa_log_info ("unloading null sink '%s'", ns->name); - pa_module_unload (core, module, false); + pa_module_unload (module, false); } pa_xfree (ns->name); |