<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi<br>
      <br>
      Il 30/07/2018 19:59, jml5qh ha scritto:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1532973545408-0.post@n4.nabble.com">
      <pre wrap="">I'm having an issue when using osxaudiosink on iOS 12. It looks like iOS 12
sets the AudioChannelLayout.mChannelLayoutTag = 6619138. </pre>
    </blockquote>
    <br>
    I think this value mean kAudioChannelLayoutTag_Stereo<br>
    <br>
    <a class="moz-txt-link-freetext"
href="https://developer.apple.com/documentation/coreaudio/1572101-audio_channel_layout_tags/kaudiochannellayouttag_stereo?language=objc">https://developer.apple.com/documentation/coreaudio/1572101-audio_channel_layout_tags/kaudiochannellayouttag_stereo?language=objc</a><br>
    <br>
    and the channel layout should be something like the "case 2" in the
    actual GStreamer code<br>
    <br>
    <a class="moz-txt-link-freetext"
href="https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/sys/osxaudio/gstosxcoreaudio.c#n365">https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/sys/osxaudio/gstosxcoreaudio.c#n365</a><br>
    <br>
    probably a patch to gstosxcoreaudio is needed, the patch should be
    not too hard to write, I'll try to fix this bug myself if the
    problem still happen after iOS 12 release <br>
    <br>
    Nicola<br>
    <br>
    <blockquote type="cite"
      cite="mid:1532973545408-0.post@n4.nabble.com">
      <pre wrap="">However, in
gstosxcoreaudio, GStreamer only supports mChannelLayoutTag =
kAudioChannelLayoutTag_UseChannelDescriptions.

if (layout->mChannelLayoutTag !=
      kAudioChannelLayoutTag_UseChannelDescriptions) {
    GST_ERROR
        ("Only kAudioChannelLayoutTag_UseChannelDescriptions is
supported.");
    *channels = 0;
    *channel_mask = 0;
    return FALSE;
  }

Is this an iOS 12 bug or something GStreamer needs to update.



--
Sent from: <a class="moz-txt-link-freetext" href="http://gstreamer-devel.966125.n4.nabble.com/">http://gstreamer-devel.966125.n4.nabble.com/</a>
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>