mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-14 06:59:53 -05:00
add new pa_card object as a way to logically combine multiple sinks and sources
This commit is contained in:
parent
aeb0707f12
commit
b6deb0cc4c
12 changed files with 327 additions and 4 deletions
|
|
@ -109,7 +109,7 @@ const char *pa_namereg_register(pa_core *c, const char *name, pa_namereg_type_t
|
|||
if (!*name)
|
||||
return NULL;
|
||||
|
||||
if ((type == PA_NAMEREG_SINK || type == PA_NAMEREG_SOURCE) &&
|
||||
if ((type == PA_NAMEREG_SINK || type == PA_NAMEREG_SOURCE || type == PA_NAMEREG_CARD) &&
|
||||
!pa_namereg_is_valid_name(name)) {
|
||||
|
||||
if (fail)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue