device-port: introduce available_group member
authorJaroslav Kysela <perex@perex.cz>
Tue, 14 Apr 2020 15:42:34 +0000 (17:42 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 17 Jun 2020 06:06:12 +0000 (06:06 +0000)
commit861836c5f72de32ec0debcf8fc3a76c4e2c014e6
tree1e942e5527c80e75aee3e46e2ba90fff9b60b939
parent9315bbdfe5c2987bc1501653f9672f79a6f9ee6d
device-port: introduce available_group member

In some cases, the I/O connector functionality can be shared
and we cannot determine the proper purpose automatically.
We just know that something was inserted to the jack.

Introduce a group identifier (a simple string - unique
per group) which helps to determine the proper ports
for the application. The user interface may be used
to set the wanted behaviour.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
configure.ac
src/modules/module-tunnel.c
src/pulse/introspect.c
src/pulse/introspect.h
src/pulsecore/device-port.c
src/pulsecore/device-port.h
src/pulsecore/protocol-native.c