<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="margin: 0px;"><font face="Menlo"><span style="font-size: 11px;">Sorry Sebastian I did some tests but I’m not able to use properly </span></font>capsfilter, but I did these tests:</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">this pipeline works very good:</div><div style="margin: 0px;"><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> gst_parse_launch("osxaudiosrc ! audioconvert ! audioresample ! autoaudiosink", &error);</div></div><div style="margin: 0px;">this pipeline works too:</div><div style="margin: 0px;"><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> gst_parse_launch("audiotestsrc ! audioconvert ! audioresample ! alawenc ! rtppcmapay ! udpsink host=192.168.1.6 port=5011", &error);</div></div><div style="margin: 0px;"> </div><div style="margin: 0px;">this one no:</div><div style="margin: 0px;"><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> gst_parse_launch("osxaudiosrc ! audioconvert ! audioresample ! alawenc ! rtppcmapay ! udpsink host=192.168.1.6 port=5011", &error);</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px;">then as you suggested, but I’m not confident have understood your suggestion I converted <span style="font-family: Menlo; font-size: 11px;">osxaudiosrc </span>with capsfilter:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;"> gst_parse_launch("osxaudiosrc !  audioconvert ! audio/x-raw,format=S16LE,channels=1,layout=interleaved,rate=8000 ! alawenc ! rtppcmapay ! udpsink host=192.168.1.6 port=5011", &error);</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">But it seems this caps filter doesn’t fix my issue…</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">Thanks</div><div style="margin: 0px;">Elio</div></div></div><div><div>On 09 Nov 2013, at 18:31, Sebastian Dröge <<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Sa, 2013-11-09 at 18:17 +0100, Elio Francesconi wrote:<br><blockquote type="cite">hi Sebastian,<br>thanks again for your time you spent with my issues.<br>I did some tests with a basic application, so to be reproducible, and it seems the issue on osxaudiosrc is a different one, I’ll try to create a base pipeline to explain better how the issue occurs.<br><br>In the mean time  I  created a simple pipeline so to test the osxaudiosrc module and I noticed that with this simple pipeline the audio captured with my iphone5 (iOS 7.0.3) is distorted.<br><br>To reproduce the issue I modified the tutorial2 using the pipeline below and I started on my linux client your script: ./client-PCMA.sh<br>osxaudiosrc ! audioconvert ! audioresample ! alawenc ! rtppcmapay ! udpsink host=192.168.1.6 port=5011<br><br> Did I miss to set some osxaudiosrc properties or do you think it is a bug?<br></blockquote><br>It is a bug, the default settings should never result in distorted audio<br>and ideally also none of the possible settings :) Do you also have<br>distorted audio if you just output it on the same device? You could test<br>with a capsfilter after osxaudiosrc with different formats and sample<br>rates, and also with different latency-time and buffer-time settings on<br>osxaudiosrc to see if any of these make the audio not distorted.<br><br>-- <br>Sebastian Dröge <<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>><br>Centricular Ltd - <a href="http://www.centricular.com">http://www.centricular.com</a><br>Expertise, Straight from the Source<br>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br></blockquote></div><br></body></html>