[gst-devel] two questions about alsa plugin

Stefan Kost ensonic at hora-obscura.de
Sat Mar 21 12:42:19 CET 2009


hi,
marco schrieb:
> hi, 
> i would like to ask some questions:
> i have such a situation being schematic:
> 
> filesource -- decodebin2 - several_audio_tranforms -adder
> e
> and for the output:
> 
> tee - shout2send
> 
> ok, the problem is:
> 
> - when i add new source using adder it is ok until it is not an alsa
> source (e.g. playing another file or a stream together with another file
> is ok, adding an alsa source, as a mic input, results in a cannot record
> fast enough or something like that). could you suggest anything? i tried
> to use queues but that did not help. starting the application with just
> one alsa source and no other sources works. 
>
Alsasrc is a livesrc. I notices the same problem, but have not looked into it.
Would be cool to make small standalone test case for it, file a bug and attach
the test-case.
Btw. what project are you working on?

> 
> - another problem arise when i try to add dynamically (at runtime) an
> alsa output to the tee, it seems it works randomly. what is the right
> way to add (and remove) an alsa output to a tee? if i start with an
> already done chain (tee and alsasink and shout2send and AFTER that
> STATE_PLAYING it works)

Again, having a small test case would rock. gst-plugin-base has
"tests/examples/dynamic/" directory with some dynamic pipeline tests. We could
add your examples there.

> 
> thanks in advance,
> 
> marco
> 
> 

Stefan





More information about the gstreamer-devel mailing list