Newbie questions: osxaudiosink, USB DAC and integer mode

novazeta novazeta at gmail.com
Mon Aug 3 10:10:22 PDT 2015


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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150803/cb872efb/attachment-0001.html>


More information about the gstreamer-devel mailing list