mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
alsa: rework monitor
Enumerate all playback and capture devices
This commit is contained in:
parent
22070ecbf8
commit
8594d28f59
4 changed files with 195 additions and 118 deletions
|
|
@ -721,7 +721,7 @@ alsa_sink_init (const SpaHandleFactory *factory,
|
|||
|
||||
for (i = 0; info && i < info->n_items; i++) {
|
||||
if (!strcmp (info->items[i].key, "alsa.card")) {
|
||||
snprintf (this->props.device, 63, "hw:%s", info->items[i].value);
|
||||
snprintf (this->props.device, 63, "%s", info->items[i].value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue