Newbie questions: osxaudiosink, USB DAC and integer mode

novazeta novazeta at gmail.com
Mon Aug 3 07:19:33 PDT 2015


.. and the corresponding output from gst-inspect:

    Capabilities:
      audio/x-raw
                 format: { S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE,
S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE,
U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE,
F32LE, F32BE, F64LE, F64BE }
                 layout: interleaved
                   rate: [ 1, 2147483647 ]
               channels: [ 1, 9 ]
      audio/x-ac3
                 framed: true
      audio/x-dts
                 framed: true

So I would hope that osxaudiosink would handle the data as raw integers if
the sink also expects integers?

On 3 August 2015 at 15:13, novazeta <novazeta at gmail.com> wrote:

> From gstosxaudiosink.c (v1.5.2):
>
> static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink"
> ,
>
>     GST_PAD_SINK,
>
>     GST_PAD_ALWAYS,
>
>     GST_STATIC_CAPS ("audio/x-raw, "
>
>         "format = (string) " GST_AUDIO_FORMATS_ALL ", "
>
>         "layout = (string) interleaved, "
>
>         "rate = (int) [1, MAX], "
>
>         "channels = (int) [1, 9];"
>
>         "audio/x-ac3, framed = (boolean) true;"
>
>         "audio/x-dts, framed = (boolean) true")
>
>     );
>
>
> On 3 August 2015 at 15:08, Nicolas Dufresne <
> nicolas.dufresne at collabora.com> wrote:
>
>> Le lundi 03 août 2015 à 14:36 +0100, novazeta a écrit :
>> > Are my questions still relevant for the latest version? The most
>> > recent source code for osxaudiosink mentions x-raw rather than x-raw
>> > -float.
>>
>> In 1.0 raw audio format is always "audio/x-raw,.." and then the
>> "format" field specify if it's made of integers, unsigned or floats.
>> This was changed to make it easier to detect if caps are raw (fully
>> decoded).
>>
>> Nicolas
>>
>>
>> _______________________________________________
>> 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/707be8d0/attachment.html>


More information about the gstreamer-devel mailing list