mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
module-device-destore: Log restored port name
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/698>
This commit is contained in:
parent
bb5823a3c9
commit
8bf8a98052
1 changed files with 2 additions and 2 deletions
|
|
@ -739,7 +739,7 @@ static pa_hook_result_t sink_new_hook_callback(pa_core *c, pa_sink_new_data *new
|
|||
|
||||
if (e->port_valid) {
|
||||
if (!new_data->active_port) {
|
||||
pa_log_info("Restoring port for sink %s.", name);
|
||||
pa_log_info("Restoring port '%s' for sink %s.", pa_strnull(e->port), name);
|
||||
pa_sink_new_data_set_port(new_data, e->port);
|
||||
new_data->save_port = true;
|
||||
} else
|
||||
|
|
@ -881,7 +881,7 @@ static pa_hook_result_t source_new_hook_callback(pa_core *c, pa_source_new_data
|
|||
|
||||
if (e->port_valid) {
|
||||
if (!new_data->active_port) {
|
||||
pa_log_info("Restoring port for source %s.", name);
|
||||
pa_log_info("Restoring port '%s' for source %s.", pa_strnull(e->port), name);
|
||||
pa_source_new_data_set_port(new_data, e->port);
|
||||
new_data->save_port = true;
|
||||
} else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue