Newbie questions: osxaudiosink, USB DAC and integer mode
novazeta
novazeta at gmail.com
Wed Aug 12 04:14:26 PDT 2015
Thanks for your help. I have another question:
The DAC requires 24bit integer audio. Is it better to have gstreamer do the
depth conversion from 16-bit to 24-bit or let OS X's CoreAudio do it?
Cheers
Khilan
On 4 August 2015 at 11:08, novazeta <novazeta at gmail.com> wrote:
> Thanks for your help. I have another question:
>
> 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?
>
> Cheers
> Khilan
>
> On 4 August 2015 at 09:18, Sérgio Agostinho <sergio.r.agostinho at gmail.com>
> wrote:
>
>> 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.
>>
>> Cheers
>>
>> 2015-08-03 19:10 GMT+02:00 novazeta <novazeta at gmail.com>:
>>
>>> 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)?
>>>
>>> gst-launch-0.10 audiotestsrc ! audio/x-raw-int,width=16,depth=16 !
>>> osxaudiosink
>>>
>>> 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:
>>>
>>> Capabilities:
>>> audio/x-raw-float
>>> endianness: { 1234 }
>>> signed: { true }
>>> width: 32
>>> depth: 32
>>> rate: [ 1, 2147483647 ]
>>> channels: [ 1, 9 ]
>>> audio/x-raw-int
>>> endianness: { 1234 }
>>> signed: { true }
>>> width: 32
>>> depth: 32
>>> rate: [ 1, 2147483647 ]
>>> channels: [ 1, 9 ]
>>> audio/x-raw-int
>>> endianness: { 1234 }
>>> signed: { true }
>>> width: 24
>>> depth: 24
>>> rate: [ 1, 2147483647 ]
>>> channels: [ 1, 9 ]
>>> audio/x-raw-int
>>> endianness: { 1234 }
>>> signed: { true }
>>> width: 16
>>> depth: 16
>>> rate: [ 1, 2147483647 ]
>>> channels: [ 1, 9 ]
>>> audio/x-raw-int
>>> endianness: { 1234 }
>>> signed: { true }
>>> width: 8
>>> depth: 8
>>> rate: [ 1, 2147483647 ]
>>> channels: [ 1, 2147483647 ]
>>> audio/x-ac3
>>> framed: true
>>> audio/x-dts
>>> framed: true
>>>
>>> Cheers
>>> Khilan
>>>
>>>
>>> On 3 August 2015 at 16:14, novazeta <novazeta at gmail.com> wrote:
>>>
>>>> Sorry, yes I meant the DAC.
>>>>
>>>> Thanks for the reference to capsfilter!
>>>>
>>>> Will check it out.
>>>>
>>>> Regards
>>>> Khilan
>>>>
>>>> On 3 August 2015 at 15:59, Sérgio Agostinho <
>>>> sergio.r.agostinho at gmail.com> wrote:
>>>>
>>>>>
>>>>> 2015-08-03 16:19 GMT+02:00 novazeta <novazeta at gmail.com>:
>>>>>
>>>>>> So I would hope that osxaudiosink would handle the data as raw
>>>>>> integers if the sink also expects integers?
>>>>>
>>>>>
>>>>> I'm confused. Which other sink are you talking about? Are you
>>>>> referring to your DAC?
>>>>> If you need to ensure 24bit integer audio reaches osxaudiosink, there
>>>>> are ways to do that. Look at capsfilter
>>>>> <http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-capsfilter.html>
>>>>> .
>>>>>
>>>>> Cheers
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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/20150812/9b3546e4/attachment.html>
More information about the gstreamer-devel
mailing list