GSTLALAudioUnderSample

GSTLALAudioUnderSample — Undersample an audio stream.

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── 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, rate=7350 ! audioresample ! autoaudiosink

Functions

Types and Values

GSTLAL_AUDIOUNDERSAMPLE_TYPE

#define             GSTLAL_AUDIOUNDERSAMPLE_TYPE

struct GSTLALAudioUnderSample

struct GSTLALAudioUnderSample;

struct GSTLALAudioUnderSampleClass

struct GSTLALAudioUnderSampleClass {
	GstBaseTransformClass parent_class;
};

Members