diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-03-16 11:21:02 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-03-23 17:07:16 +0100 |
commit | 13bc8b8c03d3a8291ef75c0c89b16079e084c174 (patch) | |
tree | 641ddfbcc15e1a18dea72a3a9195bdea34b2aa96 /ext/jack/gstjack.h | |
parent | 276228da806728723fecde73b539c0c33863d761 (diff) | |
download | gst-plugins-bad-13bc8b8c03d3a8291ef75c0c89b16079e084c174.tar.gz gst-plugins-bad-13bc8b8c03d3a8291ef75c0c89b16079e084c174.tar.bz2 gst-plugins-bad-13bc8b8c03d3a8291ef75c0c89b16079e084c174.zip |
jack: Add new connection mode
Add a new connection mode to jacksrc and jacksink. In this new auto-force
connection mode jack will create as many ports as requested/needed in the
pipeline and will then connect as many physical ports as possible, possibly
leaving some ports unconnected.
Also get rid of some leftover g_print.
Fixes #575284.
Diffstat (limited to 'ext/jack/gstjack.h')
-rw-r--r-- | ext/jack/gstjack.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/jack/gstjack.h b/ext/jack/gstjack.h index 585b72ea..fc26b713 100644 --- a/ext/jack/gstjack.h +++ b/ext/jack/gstjack.h @@ -31,13 +31,17 @@ * @GST_JACK_CONNECT_AUTO: In this mode, the element will try to connect each * output port to a random physical jack input pin. The sink will * expose the number of physical channels on its pad caps. + * @GST_JACK_CONNECT_AUTO_FORCED: In this mode, the element will try to connect each + * output port to a random physical jack input pin. The element will accept any number + * of input channels. * * Specify how the output ports will be connected. */ typedef enum { GST_JACK_CONNECT_NONE, - GST_JACK_CONNECT_AUTO + GST_JACK_CONNECT_AUTO, + GST_JACK_CONNECT_AUTO_FORCED } GstJackConnect; typedef jack_default_audio_sample_t sample_t; |