<HTML>
<HEAD>
<TITLE>Dspmp3sink and multiple sources</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi,<BR>
<BR>
&nbsp;&nbsp;&nbsp;I&#8217;m trying to write an application that plays two concurrent (at the same time) mp3 audio streams. &nbsp;I&#8217;d really like to use dspmp3sink to offload the computational load. &nbsp;But I can&#8217;t seem to run two gstreamer pipelines concurrently that connect to Dspmp3sink. &nbsp;I&#8217;ve tried a few ways, but trying it via the command line in a terminal via ssh) with:<BR>
<BR>
&nbsp;gst-launch filesrc location=track1.mp3 ! dspmp3sink<BR>
<BR>
And then running <BR>
<BR>
gst-launch filesrc location=track2.mp3 ! dspmp3sink<BR>
<BR>
In a separate ssh session, causes the first track to play fine, until the second command is entered. &nbsp;When this happens I get <BR>
<BR>
ERROR: from element /pipeline0/dspmp3sink0: Could not get/set settings from/on resource. &nbsp;<BR>
<BR>
The first already playing track gets a could not write to resource and stops playing.<BR>
<BR>
I&#8217;m new to gstreamer and linux in general but is what I am trying to do possible? &nbsp;Can I premix the mp3 streams first and then send them to dspmp3sink or would an approach with the pcm sink work better?<BR>
<BR>
Thanks<BR>
david</SPAN></FONT>
</BODY>
</HTML>