<div dir="ltr">Thanks for your help. I have another question:<div><br></div><div>The DAC requires 24bit integer audio. Is it better to have gstreamer do the depth conversion from 16-bit to 24-bit or let CoreAudio do it?</div><div><br></div><div>Cheers</div><div>Khilan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 August 2015 at 09:18, Sérgio Agostinho <span dir="ltr"><<a href="mailto:sergio.r.agostinho@gmail.com" target="_blank">sergio.r.agostinho@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes. You can run gst-launch with -v and that will print the capabilities negotiated in each pad, enabling you to check if you're passing audio to your DAC in the format you wanted. <div><br></div><div>Cheers</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-08-03 19:10 GMT+02:00 novazeta <span dir="ltr"><<a href="mailto:novazeta@gmail.com" target="_blank">novazeta@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok so it turns out that I have to stick with gstreamer 0.10, as that is the version that Mopidy supports. However, I have updated to the tip of the 0.10 branch. Is this the correct way to use capsfilter (using the shorthand here)?<div><br></div><div>gst-launch-0.10 audiotestsrc ! audio/x-raw-int,width=16,depth=16 ! osxaudiosink</div><div><br></div><div>As a reminder, these are the capabilities of osxaudiosink in the version that is at the tip of the 0.10 branch of gst-plugins-good:</div><div><br></div><div><div>    Capabilities:</div><div>      audio/x-raw-float</div><div>             endianness: { 1234 }</div><div>                 signed: { true }</div><div>                  width: 32</div><div>                  depth: 32</div><span><div>                   rate: [ 1, 2147483647 ]</div><div>               channels: [ 1, 9 ]</div></span><div>      audio/x-raw-int</div><div>             endianness: { 1234 }</div><div>                 signed: { true }</div><div>                  width: 32</div><div>                  depth: 32</div><span><div>                   rate: [ 1, 2147483647 ]</div><div>               channels: [ 1, 9 ]</div></span><div>      audio/x-raw-int</div><div>             endianness: { 1234 }</div><div>                 signed: { true }</div><div>                  width: 24</div><div>                  depth: 24</div><span><div>                   rate: [ 1, 2147483647 ]</div><div>               channels: [ 1, 9 ]</div></span><div>      audio/x-raw-int</div><div>             endianness: { 1234 }</div><div>                 signed: { true }</div><div>                  width: 16</div><div>                  depth: 16</div><span><div>                   rate: [ 1, 2147483647 ]</div><div>               channels: [ 1, 9 ]</div></span><div>      audio/x-raw-int</div><div>             endianness: { 1234 }</div><div>                 signed: { true }</div><div>                  width: 8</div><div>                  depth: 8</div><div>                   rate: [ 1, 2147483647 ]</div><div>               channels: [ 1, 2147483647 ]</div><span><div>      audio/x-ac3</div><div>                 framed: true</div><div>      audio/x-dts</div><div>                 framed: true</div></span></div><div><br></div><div><div>Cheers</div><div>Khilan</div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 3 August 2015 at 16:14, novazeta <span dir="ltr"><<a href="mailto:novazeta@gmail.com" target="_blank">novazeta@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry, yes I meant the DAC.<div><br></div><div>Thanks for the reference to capsfilter!</div><div><br></div><div>Will check it out.</div><div><br></div><div>Regards</div><div>Khilan</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On 3 August 2015 at 15:59, Sérgio Agostinho <span dir="ltr"><<a href="mailto:sergio.r.agostinho@gmail.com" target="_blank">sergio.r.agostinho@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_extra"><span><br><div class="gmail_quote">2015-08-03 16:19 GMT+02:00 novazeta <span dir="ltr"><<a href="mailto:novazeta@gmail.com" target="_blank">novazeta@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So I would hope that osxaudiosink would handle the data as raw integers if the sink also expects integers?</blockquote></div><br></span>I'm confused. Which other sink are you talking about? Are you referring to your DAC? </div><div class="gmail_extra">If you need to ensure 24bit integer audio reaches osxaudiosink, there are ways to do that. Look at <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-capsfilter.html" target="_blank">capsfilter</a>.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Cheers</div></div>
<br></div></div><span>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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></span></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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>
</div></div><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>