mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
only store card profile if flagged for that
This commit is contained in:
parent
124de50ef8
commit
08154554b0
5 changed files with 17 additions and 6 deletions
|
|
@ -1454,7 +1454,7 @@ static int pa_cli_command_card_profile(pa_core *c, pa_tokenizer *t, pa_strbuf *b
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (pa_card_set_profile(card, p) < 0) {
|
||||
if (pa_card_set_profile(card, p, TRUE) < 0) {
|
||||
pa_strbuf_printf(buf, "Failed to set card profile to '%s'.\n", p);
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue