audioparse

audioparse — Converts stream into audio frames

Synopsis

                    GstAudioParse;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstRawParse
                     +----GstAudioParse

Properties

  "channels"                 gint                  : Read / Write
  "depth"                    gint                  : Read / Write
  "endianness"               GstAudioParseEndianness  : Read / Write
  "format"                   GstAudioParseFormat   : Read / Write
  "rate"                     gint                  : Read / Write
  "signed"                   gboolean              : Read / Write
  "width"                    gint                  : Read / Write

Description

Converts a byte stream into audio frames.

Synopsis

Element Information

plugin

rawparse

author

Sebastian Dröge <slomo@circular-chaos.org>

class

Filter/Audio

Element Pads

name

sink

direction

sink

presence

always

details

ANY

name

src

direction

source

presence

always

details

audio/x-raw-int, depth=(int)[ 1, 32 ], width=(int){ 8, 16, 24, 32 }, endianness=(int){ 1234, 4321 }, signed=(boolean){ true, false }, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ]

audio/x-raw-float, width=(int){ 32, 64 }, endianness=(int){ 1234, 4321 }, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ]

Details

GstAudioParse

typedef struct _GstAudioParse GstAudioParse;

Property Details

The "channels" property

  "channels"                 gint                  : Read / Write

Number of channels in raw stream.

Allowed values: >= 1

Default value: 2


The "depth" property

  "depth"                    gint                  : Read / Write

Depth of audio samples in raw stream.

Allowed values: >= 1

Default value: 16


The "endianness" property

  "endianness"               GstAudioParseEndianness  : Read / Write

Endianness of audio samples in raw stream.

Default value: Little Endian


The "format" property

  "format"                   GstAudioParseFormat   : Read / Write

Format of audio samples in raw stream.

Default value: Integer


The "rate" property

  "rate"                     gint                  : Read / Write

Rate of audio samples in raw stream.

Allowed values: >= 1

Default value: 44100


The "signed" property

  "signed"                   gboolean              : Read / Write

Sign of audio samples in raw stream.

Default value: TRUE


The "width" property

  "width"                    gint                  : Read / Write

Width of audio samples in raw stream.

Allowed values: >= 1

Default value: 16