module-alsa-card: Drop availability groups with only one port

These are not really meaningful, and can be confusing for clients.

Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1022
This commit is contained in:
Arun Raghavan 2020-10-30 15:01:19 -04:00 committed by Arun Raghavan
parent 323195e305
commit d83ad6990e
2 changed files with 36 additions and 2 deletions

View file

@ -240,8 +240,7 @@ typedef struct pa_sink_port_info {
* input from the user to determine which device was plugged in. The application should
* then activate the user-chosen port.
*
* May be NULL, in which case the port is not part of any availability group (which is
* the same as having a group with only one member).
* May be NULL, in which case the port is not part of any availability group.
*
* The group identifier must be treated as an opaque identifier. The string may look
* like an ALSA control name, but applications must not assume any such relationship.