diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-01-15 20:07:13 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-01-15 20:07:13 +0100 |
commit | 29c7a288177c260cf2b3d8f80e807305b96594ba (patch) | |
tree | a7c87c8345c3e89799079f9f9b0362e618813ac8 /src/modules/module-rescue-streams.c | |
parent | 43762ed620589a9007b0c6b77022eb2ea1c6d926 (diff) |
kill autoload stuff as planned
Diffstat (limited to 'src/modules/module-rescue-streams.c')
-rw-r--r-- | src/modules/module-rescue-streams.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/module-rescue-streams.c b/src/modules/module-rescue-streams.c index cc6717cb..de07225d 100644 --- a/src/modules/module-rescue-streams.c +++ b/src/modules/module-rescue-streams.c @@ -59,7 +59,7 @@ static pa_hook_result_t sink_hook_callback(pa_core *c, pa_sink *sink, void* user return PA_HOOK_OK; } - if (!(target = pa_namereg_get(c, NULL, PA_NAMEREG_SINK, 0)) || target == sink) { + if (!(target = pa_namereg_get(c, NULL, PA_NAMEREG_SINK)) || target == sink) { uint32_t idx; for (target = pa_idxset_first(c->sinks, &idx); target; target = pa_idxset_next(c->sinks, &idx)) @@ -97,7 +97,7 @@ static pa_hook_result_t source_hook_callback(pa_core *c, pa_source *source, void return PA_HOOK_OK; } - if (!(target = pa_namereg_get(c, NULL, PA_NAMEREG_SOURCE, 0)) || target == source) { + if (!(target = pa_namereg_get(c, NULL, PA_NAMEREG_SOURCE)) || target == source) { uint32_t idx; for (target = pa_idxset_first(c->sources, &idx); target; target = pa_idxset_next(c->sources, &idx)) |