jack: Add port-names property to select ports explicitly
authorSeungha Yang <seungha@centricular.com>
Tue, 27 Jul 2021 09:33:18 +0000 (18:33 +0900)
committerSeungha Yang <seungha@centricular.com>
Fri, 30 Jul 2021 06:58:20 +0000 (15:58 +0900)
commit4a5197dc27a3300111df5ee44a613a58ccdabd47
tree6d91de4092f08ecd7e97f06327c64c494e617af6
parent4ed342db5d3da7baabad258b5530a1724c268e04
jack: Add port-names property to select ports explicitly

By this new property, user can select physical port to connect,
and element will pick requested port instead of random ones.
User should provide full port name including "client_name:" prefix.
An example is
jackaudiosrc port-names="system:capture_1,system:capture_3" ! ...
   jackaudiosink port-names="system:playback_2"

In addition to "port-names" property, a new connect type "explicit"
is added so that element can post error message if requested
"port-names" contains invalid port(s).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1037>
docs/gst_plugins_cache.json
ext/jack/gstjack.c
ext/jack/gstjack.h
ext/jack/gstjackaudioclient.c
ext/jack/gstjackaudioclient.h
ext/jack/gstjackaudiosink.c
ext/jack/gstjackaudiosink.h
ext/jack/gstjackaudiosrc.c
ext/jack/gstjackaudiosrc.h