projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b76ea3
)
raop: Use pa_module_unload_request_by_index as per module-zeroconf-discover
author
Colin Guthrie
<cguthrie@mandriva.org>
Wed, 16 Sep 2009 19:54:51 +0000
(20:54 +0100)
committer
Colin Guthrie
<cguthrie@mandriva.org>
Thu, 17 Sep 2009 23:22:01 +0000
(
00:22
+0100)
src/modules/raop/module-raop-discover.c
patch
|
blob
|
history
diff --git
a/src/modules/raop/module-raop-discover.c
b/src/modules/raop/module-raop-discover.c
index
eaeb77f
..
adba8e4
100644
(file)
--- a/
src/modules/raop/module-raop-discover.c
+++ b/
src/modules/raop/module-raop-discover.c
@@
-265,7
+265,7
@@
static void browser_cb(
struct tunnel *t2;
if ((t2 = pa_hashmap_get(u->tunnels, t))) {
- pa_module_unload_by_index(u->core, t2->module_index, TRUE);
+ pa_module_unload_
request_
by_index(u->core, t2->module_index, TRUE);
pa_hashmap_remove(u->tunnels, t2);
tunnel_free(t2);
}
@@
-386,7
+386,7
@@
void pa__done(pa_module*m) {
struct tunnel *t;
while ((t = pa_hashmap_steal_first(u->tunnels))) {
- pa_module_unload_by_index(u->core, t->module_index, TRUE);
+ pa_module_unload_
request_
by_index(u->core, t->module_index, TRUE);
tunnel_free(t);
}