mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
kill autoload stuff as planned
This commit is contained in:
parent
43762ed620
commit
29c7a28817
45 changed files with 166 additions and 944 deletions
|
|
@ -417,7 +417,7 @@ static pa_hook_result_t sink_input_new_hook_callback(pa_core *c, pa_sink_input_n
|
|||
|
||||
if ((r = pa_hashmap_get(u->hashmap, name))) {
|
||||
if (!data->sink && r->sink) {
|
||||
if ((data->sink = pa_namereg_get(c, r->sink, PA_NAMEREG_SINK, 1)))
|
||||
if ((data->sink = pa_namereg_get(c, r->sink, PA_NAMEREG_SINK)))
|
||||
pa_log_info("Restoring sink for <%s>", r->name);
|
||||
}
|
||||
}
|
||||
|
|
@ -463,7 +463,7 @@ static pa_hook_result_t source_output_new_hook_callback(pa_core *c, pa_source_ou
|
|||
|
||||
if ((r = pa_hashmap_get(u->hashmap, name))) {
|
||||
if (!data->source && r->source) {
|
||||
if ((data->source = pa_namereg_get(c, r->source, PA_NAMEREG_SOURCE, 1)))
|
||||
if ((data->source = pa_namereg_get(c, r->source, PA_NAMEREG_SOURCE)))
|
||||
pa_log_info("Restoring source for <%s>", r->name);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue