<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’m doing some tests and I noticed:<div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><b>0:00:12.059877000 [332m 1123[00m  0x33825b8 [37mDEBUG  [00m [00m            osxaudio gstosxaudioringbuffer.c:228:gst_osx_audio_ring_buffer_acquire:<osxaudioringbuffer0>[00m Format: FormatID: mcpl rate: 8000.000000 flags: 0xc BytesPerPacket: 8 FramesPerPacket: 1 BytesPerFrame: 8 ChannelsPerFrame: 2 BitsPerChannel: 32</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><b>0:00:12.060012000 [332m 1123[00m  0x33825b8 [37mDEBUG  [00m [00m            osxaudio gstosxcoreaudio.c:</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><div style="margin: 0px;"><b>150:gst_core_audio_initialize:<GstCoreAudio@0x3490ce0>[00m Initializing: passthrough:0 caps:audio/x-raw, format=(string)S32LE, layout=(string)interleaved, rate=(int)8000, channels=(int)2</b></div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><b><br></b></div><div style="margin: 0px;"><b style="font-family: Menlo; font-size: 11px;">But the client </b><font face="Menlo"><span style="font-size: 11px;"><b>expects:</b></span></font></div><div><b style="font-family: Menlo; font-size: 11px;">format=(string)S16LE channels=(int)1</b></div><div><font face="Menlo"><span style="font-size: 11px;"><b><br></b></span></font></div><div><font face="Menlo"><span style="font-size: 11px;"><b>Could it be the issue?</b></span></font></div><div><font face="Menlo"><span style="font-size: 11px;"><b>Thanks</b></span></font></div><div><font face="Menlo"><span style="font-size: 11px;"><b>Elio<br></b></span></font><div><div>On 09 Nov 2013, at 12:08, Sebastian Dröge <<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On Sa, 2013-11-09 at 09:45 +0100, Elio Francesconi wrote:<br><blockquote type="cite">Hi all,<br>I’m developing a stream audio for iOS platforms and I’m facing a new issue with my rtp stream.<br>I got an error while I’m streaming audio using “osxaudiosrc”, the audio received is distorted and I noticed this error:<br><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><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><br><br>Note: if I use audiotestsrc the audio stream received is good..<br><br>Can someone give me some hints to debug this issue?<br></blockquote><br>Can you file a bug about this too, including the complete debug log and<br>the exact device you're using. Ideally also including a patch to one of<br>the tutorial applications to reproduce the problem :)<br><br>I assume we're doing something wrong with the initialization of the iOS<br>audio API there. As a first step I would look at what values we pass<br>there and if others maybe work better (different buffer sizes, sample<br>rates, number of channels, etc). And then check what other applications<br>are doing.<br><br>--<span class="Apple-converted-space"> </span><br>Sebastian Dröge <<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>><br>Centricular Ltd -<span class="Apple-converted-space"> </span><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><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></blockquote></div><br></div></div></body></html>