<div dir="ltr">From gstosxaudiosink.c (v1.5.2):<div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo"><span style="color:#bb2ca2">static</span> GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE (<span style="color:#d12f1b">"sink"</span>,</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> GST_PAD_SINK,</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> GST_PAD_ALWAYS,</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> GST_STATIC_CAPS (<span style="color:#d12f1b">"audio/x-raw, "</span></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> <span style="color:#d12f1b">"format = (string) "</span> GST_AUDIO_FORMATS_ALL <span style="color:#d12f1b">", "</span></p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(209,47,27)"><span style="color:#000000"> </span>"layout = (string) interleaved, "</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(209,47,27)"><span style="color:#000000"> </span>"rate = (int) [1, MAX], "</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(209,47,27)"><span style="color:#000000"> </span>"channels = (int) [1, 9];"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(209,47,27)"><span style="color:#000000"> </span>"audio/x-ac3, framed = (boolean) true;"</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(209,47,27)"><span style="color:#000000"> </span>"audio/x-dts, framed = (boolean) true"<span style="color:#000000">)</span></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> );</p></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 August 2015 at 15:08, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas.dufresne@collabora.com" target="_blank">nicolas.dufresne@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Le lundi 03 août 2015 à 14:36 +0100, novazeta a écrit :<br>
> Are my questions still relevant for the latest version? The most<br>
> recent source code for osxaudiosink mentions x-raw rather than x-raw<br>
> -float.<br>
<br>
</span>In 1.0 raw audio format is always "audio/x-raw,.." and then the<br>
"format" field specify if it's made of integers, unsigned or floats.<br>
This was changed to make it easier to detect if caps are raw (fully<br>
decoded).<br>
<span class="HOEnZb"><font color="#888888"><br>
Nicolas<br>
<br>
</font></span><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" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>