Play 2 mp3 file at same time.

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

Play 2 mp3 file at same time.

giorgio-2
Hi,
I would like to play 3 Mp3 file at same time using a gStreamer
framework.

I tried to  create two different pipe line with different sounce and the
same audio sink but my audio sound driver dosen't permit to open two
different audio channel at same time.
So I can get playng only the first pipe line.
src1 --> decode1 --> audio sunk
src2 --> decode2 --> audio sink

So I think the only way to play two differetne mp3 at same time for my
hardware is to realize a pipe line with an aggregator ( or audio
Mixer) .

Src -> Decode ->\
                 ----> AGGREGATOR -> AUDIO SINK
Src -> Decode ->/

Someone could explain me, how to realize a similar pipe line?
How can I create an Aggregator ( or Audio mixer) element?
Is Agregator a factory standard element provided with gstream
framework?.

Tanks.
Giorgio.













------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Play 2 mp3 file at same time.

Stefan Sauer
giorgio wrote:

> Hi,
> I would like to play 3 Mp3 file at same time using a gStreamer
> framework.
>
> I tried to  create two different pipe line with different sounce and the
> same audio sink but my audio sound driver dosen't permit to open two
> different audio channel at same time.
> So I can get playng only the first pipe line.
> src1 --> decode1 --> audio sunk
> src2 --> decode2 --> audio sink
>
> So I think the only way to play two differetne mp3 at same time for my
> hardware is to realize a pipe line with an aggregator ( or audio
> Mixer) .
>
> Src -> Decode ->\
> ----> AGGREGATOR -> AUDIO SINK
> Src -> Decode ->/
>
> Someone could explain me, how to realize a similar pipe line?
> How can I create an Aggregator ( or Audio mixer) element?
> Is Agregator a factory standard element provided with gstream
> framework?.
>
> Tanks.
> Giorgio.
>
>
>  
The audiomixer is called "adder".

Stefan

>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel