two questions about alsa plugin

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

two questions about alsa plugin

marco@teknusi.org
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.

- 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)

thanks in advance,

marco


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: two questions about alsa plugin

Stefan Sauer
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


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel