mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
acp: fix mapping name
This commit is contained in:
parent
5892403b01
commit
b62771c3cb
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ static int add_pro_profile(pa_card *impl, uint32_t index)
|
||||||
char *devstr, *name, *desc;
|
char *devstr, *name, *desc;
|
||||||
asprintf(&devstr, "hw:%d,%d", index, dev);
|
asprintf(&devstr, "hw:%d,%d", index, dev);
|
||||||
asprintf(&name, "Mapping pro-input-%d", dev);
|
asprintf(&name, "Mapping pro-input-%d", dev);
|
||||||
asprintf(&desc, "Mapping Pro Input %d", dev);
|
asprintf(&desc, "Pro Input %d", dev);
|
||||||
m = pa_alsa_mapping_get(ps, name);
|
m = pa_alsa_mapping_get(ps, name);
|
||||||
m->description = desc;
|
m->description = desc;
|
||||||
m->device_strings = pa_split_spaces_strv(devstr);
|
m->device_strings = pa_split_spaces_strv(devstr);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue