GNOME Bugzilla – Bug 575284
add auto-connect-forced mode to jackaudiosrc and jackaudiosink
Last modified: 2009-03-20 13:22:24 UTC
Currently, the gst-jack auto-connect mode will limit the number of ports created to the number of available physical ports. It would be good to have another option that would create as many ports as are requested via caps, and only connect as many as there are phyiscal ports.
Created attachment 130599 [details] [review] provides described functionality This adds the mode "auto-connect-forced" to the avaiable modes of the connect property for both jackaudiosrc and jackaudiosink. it also gets rid of an unwanted g_print line in jackaudiosrc.
Created attachment 130600 [details] [review] patch that provides the new connect mode
Will commit after the freeze/release.
Tristan, you could turn the g_print into a G_DEBUG_OBJECT(). Besides I wonder how the mod is going to be implemented. Will you do a patch for this as well?
Forget my second comment. It was not clean from them context diff what the patch actually does. Sorry for the noise.
will push after freeze. commit afd3788f3c9438aa078bd93edd220968dfdddb29 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Mar 16 11:21:02 2009 +0100 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.