<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;">I’ve opened a file bug.<div><a href="https://bugzilla.gnome.org/show_bug.cgi?id=712182">https://bugzilla.gnome.org/show_bug.cgi?id=712182</a></div><div><br></div><div>It seems AUAudio library fails when I initialise osxaudiosrc and osxaudiosink… have you experience on that? It seems a common issue, if you useAUAudio on iOS7.</div><div><br></div><div>Do you think I could use a different source/sink to solve my issue?</div><div>Thank for your help</div><div>Elio</div><div><br><div><div>On 12 Nov 2013, at 14:37, elio francesconi <<a href="mailto:elio.francesconi@gmail.com">elio.francesconi@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p dir="ltr">I'll open the issue but are you able to reproduce also? Caps are the same as described in the previous email.<br>
It seems a timing matter.<br>
Ciao elio</p>
<div class="gmail_quot<blockquote class=" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto;">On Mo, 2013-11-11 at 19:41 +0100, Elio Francesconi wrote:<br>
> Thanks Sebastian,<br>
>  the workaround below, that you proposed, solves my issue. Thanks!<br>
> osxaudiosrc ! capsfilter caps=audio/x-raw,rate=44100 ! audioconvert !<br>
> audioresample ! alawenc ! rtppcmapay ! udpsink host=192.168.1.6 port=5011<br>
> About the error below I’ve found a way to reproduce it, below I’ll describe you the procedure:<br>
> 2013-11-09 08:17:33.668 ipDoor[314:8403] 08:17:33.668 ERROR:     [0x7e44000] 1207: AUIOClient_StartIO failed (560034163)<br>
> 0:00:39.088255000 [333m  314[00m  0x2a737e8 [31;01mERROR  [00m [00;04m             default gstosxcoreaudiocommon.c:128:gst_core_audio_io_proc_start:<osxaudioringbuffer0>[00m AudioOutputUnitStart failed: sqa!<br>

> 2013-11-09 08:17:33.670 ipDoor[314:8903] 08:17:33.670 ERROR:     [0x7f70000] >aurioc> 1455: AURemoteIO@0x31ab420: IOThread exiting with error 0x10004006<br>
> 2013-11-09 08:17:33.672 ipDoor[314:8403] 08:17:33.672 ERROR:     [0x7e44000] 1207: AUIOClient_StartIO failed (560034163)<br>
> 0:00:39.092167000 [333m  314[00m  0x2a737e8 [31;01mERROR  [00m [00;04m             default gstosxcoreaudiocommon.c:128:gst_core_audio_io_proc_start:<osxaudioringbuffer0>[00m AudioOutputUnitStart failed: sqa!<br>

><br>
><br>
> I modified the Tutorial2 with this pseudocode and I’m able to reproduce the issue:<br>
> #define LAUNCH_SERVER_AUDIO "osxaudiosrc ! capsfilter caps=audio/x-raw,rate=44100 ! audioconvert ! audioresample ! alawenc ! rtppcmapay ! udpsink host=127.0.0.1 port=5011"<br>
><br>
> #define LAUNCH_CLIENT_AUDIO "udpsrc caps=application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA port=5011 ! rtppcmadepay ! alawdec ! audioconvert ! audioresample ! autoaudiosink"<br>

><br>
>     sourcePipeline = gst_parse_launch(LAUNCH_SERVER_AUDIO, &error);<br>
>     sinkPipeline = gst_parse_launch(LAUNCH_CLIENT_AUDIO, &error);<br>
><br>
>     if(gst_element_set_state(sourcePipeline, GST_STATE_PLAYING) == GST_STATE_CHANGE_FAILURE) {<br>
>         GST_ERROR("GST_STATE_CHANGE_FAILURE ...");<br>
>     }<br>
>     if(gst_element_set_state(sinkPipeline, GST_STATE_PLAYING) == GST_STATE_CHANGE_FAILURE) {<br>
>         GST_ERROR("GST_STATE_CHANGE_FAILURE ...");<br>
>     }<br>
><br>
> I noticed that replacing autoaudiosink with osxaudiosink I solved the issue and everything works well.<br>
<br>
Can you create another bug for that problem? Especially autoaudiosink<br>
vs. osxaudiosink shouldn't make a difference. Are different caps<br>
negotiated on the sink depending on if you use it directly or not?<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/" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></div>
</blockquote></div><br></div></body></html>