mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
card-restore: log the correct profile name
This commit is contained in:
parent
27067dbc75
commit
33e31b5b70
1 changed files with 1 additions and 1 deletions
|
|
@ -561,7 +561,7 @@ static pa_hook_result_t card_choose_initial_profile_callback(pa_core *core, pa_c
|
|||
|
||||
profile = pa_hashmap_get(card->profiles, e->profile);
|
||||
if (profile) {
|
||||
pa_log_info("Restoring profile '%s' for card %s.", card->active_profile->name, card->name);
|
||||
pa_log_info("Restoring profile '%s' for card %s.", profile->name, card->name);
|
||||
pa_card_set_profile(card, profile, true);
|
||||
} else {
|
||||
pa_log_debug("Tried to restore profile %s for card %s, but the card doesn't have such profile.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue