<br><br><div class="gmail_quote">On Sat, Oct 31, 2009 at 7:34 AM, Jan Martinek <span dir="ltr">&lt;<a href="mailto:honza@dp.fce.vutbr.cz">honza@dp.fce.vutbr.cz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hello,<br>
<br>
I am trying to write a program which sends data into left speaker while<br>
the right one remains silent. The obvious way would be to set up a<br>
stereo pipeline and send the bytes in this order<br>
<br>
left data, zero, left data, zero, left data, zero, etc.<br>
<br>
but ... is there a better way? Can I join my data with silence using<br>
interleave? Silence can be generated by &quot;audiotestsrc wave=4&quot;, so ...<br></blockquote><div><br>I didn&#39;t understand clearly what you&#39;re trying/wanting to do, but you might be interested in the audiopanorama element.<br>

 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
For testing, I try to play sine wave from one channel only:<br>
<br>
gst-launch interleave name=i ! audioconvert ! gconfaudiosink \<br>
audiotestsrc ! capsfilter \<br>
caps=audio/x-raw-int,rate=44100,channels=1,depth=16,signed=true \<br>
! queue ! i.sink0 \<br>
audiotestsrc wave=4 ! capsfilter \<br>
caps=audio/x-raw-int,rate=44100,channels=1,depth=16,signed=true \<br>
! queue ! i.sink1<br>
<br>
But I get this error message:<br>
WARNING: erroneous pipeline: could not link queue0 to i<br>
<br>
Thank you for help in advance,<br>
Jan Martinek<br>
<br>
------------------------------------------------------------------------------<br>
Come build with us! The BlackBerry(R) Developer Conference in SF, CA<br>
is the only developer event you need to attend this year. Jumpstart your<br>
developing skills, take BlackBerry mobile applications to market and stay<br>
ahead of the curve. Join us from November 9 - 12, 2009. Register now!<br>
<a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thiago Sousa Santos<br>