[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] module-device-destore: Log restored port name
PulseAudio Marge Bot (@pulseaudio-merge-bot)
gitlab at gitlab.freedesktop.org
Mon May 16 18:10:36 UTC 2022
PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio
Commits:
8bf8a980 by Igor V. Kovalenko at 2022-05-16T18:08:16+00:00
module-device-destore: Log restored port name
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/698>
- - - - -
1 changed file:
- src/modules/module-device-restore.c
Changes:
=====================================
src/modules/module-device-restore.c
=====================================
@@ -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
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/8bf8a98052c5621d38b95ad9e64753ca12dedf38
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/8bf8a98052c5621d38b95ad9e64753ca12dedf38
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20220516/2fc9571d/attachment-0001.htm>
More information about the pulseaudio-commits
mailing list