[gst-devel] multichannel audio with jacksink

Tristan Matthews tristan at sat.qc.ca
Mon May 26 19:39:46 CEST 2008


I'd tried something like that before, and it yields the following errors:

cannot deliver port registration request
ERROR: from element /pipeline0/jackaudiosink0: Could not get/set 
settings from/o
n resource.
Additional debug info:
gstjackaudiosink.c(564): gst_jack_ring_buffer_acquire (): 
/pipeline0/jackaudiosi
nk0:
Cannot allocate more Jack ports
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/pipeline0/jackaudiosink1.sink: caps = NULL
/pipeline0/audioconvert1.src: caps = NULL
/pipeline0/audioconvert1.sink: caps = NULL
/pipeline0/audioconvert0.src: caps = NULL
/pipeline0/audioconvert0.sink: caps = NULL
/pipeline0/audiotestsrc1.src: caps = NULL
/pipeline0/audiotestsrc0.src: caps = NULL
FREEING pipeline ...

I think I might have to combine the audio into one 8 channel stream 
before piping it to the jackaudiosink, as it doesn't seem to work with 
multiple jackaudiosinks, however I'm not sure how I'd do this either.

-Tristan


Wim Taymans wrote:
> On Mon, 2008-05-26 at 13:21 -0400, Tristan Matthews wrote:
>   
>> Hi,
>>
>> I'd like to have a launchline that allows me to have multiple (up to 8) 
>> audiotestsrc elements all outputting to a jackserver (on separate 
>> channels). The mono version being:
>>
>> gst-launch -v audiotestsrc volume=0.5 freq=300 wave=sine ! audioconvert 
>> ! jackaudiosink
>>     
>
> Did you try:
> 
> gst-launch -v audiotestsrc volume=0.5 freq=300 wave=sine ! audioconvert 
> ! jackaudiosink audiotestsrc volume=0.5 freq=500 wave=sine ! audioconvert ! jackaudiosink
>
> Simply adding more jackaudiosinks should do the trick.
>
> Wim
>
>   
>> I'd like to have each audiotestsrc be at a different frequency and on 
>> its own channel.
>>
>> Any ideas?
>>
>> Regards,
>> Tristan
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>     
>
>   





More information about the gstreamer-devel mailing list