After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 609409 - jackaudio sink cannot create ports
jackaudio sink cannot create ports
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-09 12:07 UTC by Jeremiah Rose
Modified: 2010-09-02 13:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremiah Rose 2010-02-09 12:07:36 UTC
This works:

jez@X31:~$ gst-launch audiotestsrc ! jackaudiosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 1470244240 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
jez@X31:~$ 


But this does not:

jez@X31:~$ gst-launch audiotestsrc ! jackaudiosink audiotestsrc ! jackaudiosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstJackAudioSink:jackaudiosink0: Could not get/set settings from/on resource.
Additional debug info:
gstjackaudiosink.c(524): gst_jack_ring_buffer_acquire (): /GstPipeline:pipeline0/GstJackAudioSink:jackaudiosink0:
Cannot allocate more Jack ports
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
jez@X31:~/code/birdsong$

I'm using the latest git version of jackaudiosink. The problem occurs with older versions, too.
I'm not sure what other information to post, but please ask and I'll endeavour to provide what I can ...
Comment 1 Wim Taymans 2010-02-12 17:31:59 UTC
Not sure what to do with this. I think you are saying that all instances of jackaudiosink in the same process should share the same jack ports and all pull in the same jack callback.
Comment 2 Jeremiah Rose 2010-02-12 23:10:27 UTC
simply that the second command:

gst-launch audiotestsrc freq=200 ! jackaudiosink audiotestsrc freq=400 ! jackaudiosink

should WORK, instead of throwing an error.

with jack 1.9.5 and latest git version of gst-plugins-bad, it does not work - as shown above.
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2010-04-26 19:23:04 UTC
This works fine for me on gst-plugins-bad from git head and
jackd version 0.116.2 (that is ~ 1.9.3).

Jeremiah, can you get a debug log from gstreamer and attach here?
GST_DEBUG="*:2,*jack*:4" GST_DEBUG_NO_COLOR=1 gst-launch-0.10 2>debug.log audiotestsrc ...
Comment 4 Tobias Mueller 2010-09-02 13:29:46 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!