Commit 12fe7569 authored by Tanu Kaskinen's avatar Tanu Kaskinen Committed by Arun Raghavan
Browse files

alsa: Handle the "profile" modarg in module-alsa-card

parent 9a1eee5c
......@@ -294,6 +294,7 @@ int pa__init(pa_module *m) {
struct userdata *u;
pa_reserve_wrapper *reserve = NULL;
const char *description;
const char *profile = NULL;
char *fn = NULL;
pa_bool_t namereg_fail = FALSE;
......@@ -390,6 +391,9 @@ int pa__init(pa_module *m) {
goto fail;
if ((profile = pa_modargs_get_value(ma, "profile", NULL)))
pa_card_new_data_set_profile(&data, profile);
u->card = pa_card_new(m->core, &data);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment