GSTLALAudioUnderSample

GSTLALAudioUnderSample — Undersample an audio stream.

Synopsis

struct              GSTLALAudioUnderSample;
struct              GSTLALAudioUnderSampleClass;
#define             GSTLAL_AUDIOUNDERSAMPLE_TYPE

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseTransform
                     +----GSTLALAudioUnderSample

Description

This element implements an undersampling transform on time series data. For more information about undersampling, see https://en.wikipedia.org/wiki/Undersampling. Note that this element only performs the undersampling itself, not the band-pass pre-filtering that is usually performed as part of the transform. This element can only generate output streams whose sample rates are integer divisors of the input stream. To achieve other sample rates, precede this element with an audioresample element to resample the time series to a rate that is an integer multiple of the final desired sample rate.

Example (assumes 44.1 kHz source material):

$ gst-launch filesrc location="song.mp3" ! decodebin ! lal_audioundersample ! audio/x-raw-int, rate=7350 ! audioresample ! autoaudiosink

Details

struct GSTLALAudioUnderSample

struct GSTLALAudioUnderSample;

struct GSTLALAudioUnderSampleClass

struct GSTLALAudioUnderSampleClass {
	GstBaseTransformClass parent_class;
};

GstBaseTransformClass parent_class;

the parent class

GSTLAL_AUDIOUNDERSAMPLE_TYPE

#define             GSTLAL_AUDIOUNDERSAMPLE_TYPE