[maemo-developers] Dspmp3sink and multiple sources

From: David McGookin mcgookdk at dcs.gla.ac.uk
Date: Fri Jul 25 15:59:37 EEST 2008
Hi,

   I¹m trying to write an application that plays two concurrent (at the same
time) mp3 audio streams.  I¹d really like to use dspmp3sink to offload the
computational load.  But I can¹t seem to run two gstreamer pipelines
concurrently that connect to Dspmp3sink.  I¹ve tried a few ways, but trying
it via the command line in a terminal via ssh) with:

 gst-launch filesrc location=track1.mp3 ! dspmp3sink

And then running 

gst-launch filesrc location=track2.mp3 ! dspmp3sink

In a separate ssh session, causes the first track to play fine, until the
second command is entered.  When this happens I get

ERROR: from element /pipeline0/dspmp3sink0: Could not get/set settings
from/on resource.  

The first already playing track gets a could not write to resource and stops
playing.

I¹m new to gstreamer and linux in general but is what I am trying to do
possible?  Can I premix the mp3 streams first and then send them to
dspmp3sink or would an approach with the pcm sink work better?

Thanks
david
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080725/13d9524b/attachment.htm 
More information about the maemo-developers mailing list