speexresample

speexresample — Resamples audio

Synopsis

                    GstSpeexResample;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseTransform
                     +----GstSpeexResample

Properties

  "quality"                  gint                  : Read / Write / Construct

Description

speexresample resamples raw audio buffers to different sample rates using a configurable windowing function to enhance quality.

Example launch line

gst-launch -v filesrc location=sine.ogg ! oggdemux ! vorbisdec ! audioconvert ! speexresample ! audio/x-raw-int, rate=8000 ! alsasink
Decode an Ogg/Vorbis downsample to 8Khz and play sound through alsa. To create the Ogg/Vorbis file refer to the documentation of vorbisenc.

Synopsis

Element Information

plugin

speexresample

author

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

class

Filter/Converter/Audio

Element Pads

name

src

direction

source

presence

always

details

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

audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true

name

sink

direction

sink

presence

always

details

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

audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true

Details

GstSpeexResample

typedef struct _GstSpeexResample GstSpeexResample;

Opaque data structure.

Property Details

The "quality" property

  "quality"                  gint                  : Read / Write / Construct

Resample quality with 0 being the lowest and 10 being the best.

Allowed values: [0,10]

Default value: 4