mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
restore: change 'save' flag behaviour to reflect whether an entry shall and/or is in the on-disk databases
This commit is contained in:
parent
25e5197f6a
commit
c4d90ea986
4 changed files with 39 additions and 33 deletions
|
|
@ -199,7 +199,7 @@ static pa_hook_result_t card_new_hook_callback(pa_core *c, pa_card_new_data *new
|
|||
if (!new_data->active_profile) {
|
||||
pa_log_info("Restoring profile for card %s.", new_data->name);
|
||||
pa_card_new_data_set_profile(new_data, e->profile);
|
||||
new_data->save_profile = FALSE;
|
||||
new_data->save_profile = TRUE;
|
||||
} else
|
||||
pa_log_debug("Not restoring profile for card %s, because already set.", new_data->name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue