Newbie questions: osxaudiosink, USB DAC and integer mode

novazeta novazeta at gmail.com
Mon Aug 3 06:36:49 PDT 2015


Hi Sergio

Thanks for your reply.

One thing I've just realised is...

I originally installed gstreamer and gst-plugins-good from homebrew and the
latest version from there is actually 1.4.5 and 0.10.31 respectively!

I probably should upgrade to a newer version :-)

Are my questions still relevant for the latest version? The most recent
source code for osxaudiosink mentions x-raw rather than x-raw-float.

Cheers
Khilan


On 3 August 2015 at 13:37, Sérgio Agostinho <sergio.r.agostinho at gmail.com>
wrote:

> Hey,
>
> Here are couple of pointers
>
> 2) It is likely using the audioconverter element for that.
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-audioconvert.html
> To really know what is going on I recommend digging into
>
> http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/gst/audioconvert
>
>
> 3) It won't.
>
> Cheers
>
>
>
> 2015-08-03 13:24 GMT+02:00 novazeta <novazeta at gmail.com>:
>
>> Dear all
>>
>> I'm running the MPD-based Mopidy music server software that uses
>> gstreamer as its audio playback engine. I'm running OS X Yosemite (10.10)
>> and also have a USB DAC (Audioquest Dragonfly v1.2).
>>
>> I've configured OS X so that the DAC has the correct sampling rate for my
>> music (44.1kHz - all my music files are 16-bit/44.1kHz wav files).
>>
>> I have a few newbie questions that I would really like guidance on.
>> Please accept my apologies if these are really simple questions, but I'm
>> still getting my head around how gstreamer works:
>>
>> 1) My overall question is: is there a way to send bit perfect data to OS
>> X's underlying CoreAudio? I have some subquestions pertaining to this...
>>
>> 2) I'm using osxaudiosink as the output sink. Using gst-inspect, I notice
>> that this works with floats, however OS X is using integer mode for the DAC
>> (44.1kHz/24bit Integer mode) and doesn't even provide an option for using
>> floats instead. What kind of conversion will gstreamer/osxaudiosink do
>> regarding int/float and also regarding 16-bit -> 24-bit?
>>
>> 3) If the sample rate of the wav file and the sample rate set for the DAC
>> within OS X are the same (i.e. 44.1kHz), will gstreamer still perform any
>> resampling?
>>
>> Thanks!
>> Khilan
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150803/818a61af/attachment.html>


More information about the gstreamer-devel mailing list