<div dir="ltr">Have you tried the following script:<div><br></div><div>gst-launch-1.0 audiotestsrc wave=0 ! audiomixer name=am ! autoaudiosink audiotestsrc wave=8 ! am.</div><div><br></div><div>I use this script to test the audiomixer element. You can replace audiotestsrc elements to your wave file src and your osxaudiosrc. And replace the autoaudiosink to your alawenc...</div><div><br></div><div>Hope this will help you.</div></div><br><div class="gmail_quote"><div dir="ltr">symeon.mattes <<a href="mailto:symeon.mattes@gmail.com">symeon.mattes@gmail.com</a>>于2015年9月30日周三 下午4:29写道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm quite new in this framework, so I'm not so sure how to use it...Mixing<br>
the signal is actually what I had in mind. Could you give me an example?<br>
Let's say I have created the pipeline as suggested in the tutorial having:<br>
<br>
<br>
GstElement *pipeline;<br>
gchar *pipeline_string=g_strdup_printf("osxaudiosrc ! audioconvert !<br>
audioresample ! alawenc ! rtppcmapay ! udpsink port=%s<br>
bind-port=2000",portToConnect); //sending audio<br>
pipeline=gst_parse_launch(pipeline_string);<br>
gst_element_set_state(pipeline, GST_STATE_PLAYING)<br>
<br>
<br>
Let's say I have a stored wav file (whateverformat), how am I going to send<br>
it?<br>
<br>
Thanks<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Sending-DTMF-signal-tp4673882p4673884.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Sending-DTMF-signal-tp4673882p4673884.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>