Lines Matching defs:profile
169 { "set-card-profile", pa_cli_command_card_profile, "Change the profile of a card (args: index|name, profile-name)", 3},
1647 pa_card_profile *profile;
1660 pa_strbuf_puts(buf, "You need to specify a profile by its name.\n");
1669 if (!(profile = pa_hashmap_get(card->profiles, p))) {
1670 pa_strbuf_printf(buf, "No such profile: %s\n", p);
1674 if (pa_card_set_profile(card, profile, true) < 0) {
1675 pa_strbuf_printf(buf, "Failed to set card profile to '%s'.\n", p);
1697 pa_strbuf_puts(buf, "You need to specify a profile by its name.\n");
1729 pa_strbuf_puts(buf, "You need to specify a profile by its name.\n");
1902 pa_strbuf_printf(buf, "set-card-profile %s %s\n", card->name, card->active_profile->name);