mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
Fix silly copy-and-paste error. (closes #45)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1417 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
68bcbd2913
commit
1a460ee40a
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ int pa_autoload_add(pa_core *c, const char*name, pa_namereg_type_t type, const c
|
||||||
|
|
||||||
int pa_autoload_remove_by_name(pa_core *c, const char*name, pa_namereg_type_t type) {
|
int pa_autoload_remove_by_name(pa_core *c, const char*name, pa_namereg_type_t type) {
|
||||||
pa_autoload_entry *e;
|
pa_autoload_entry *e;
|
||||||
assert(c && name && module && (type == PA_NAMEREG_SINK || type == PA_NAMEREG_SOURCE));
|
assert(c && name && (type == PA_NAMEREG_SINK || type == PA_NAMEREG_SOURCE));
|
||||||
|
|
||||||
if (!c->autoload_hashmap || !(e = pa_hashmap_get(c->autoload_hashmap, name)) || e->type != type)
|
if (!c->autoload_hashmap || !(e = pa_hashmap_get(c->autoload_hashmap, name)) || e->type != type)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue