| GStreamer Bad Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Properties | ||||
legacyresample resamples raw audio buffers to different sample rates using a configurable windowing function to enhance quality.
gst-launch -v filesrc location=sine.ogg ! oggdemux ! vorbisdec ! audioconvert ! legacyresample ! audio/x-raw-int, rate=8000 ! alsasink
Last reviewed on 2006-03-02 (0.10.4)
plugin |
legacyresample |
author |
David Schleef <ds@schleef.org> |
class |
Filter/Converter/Audio |
name |
sink |
direction |
sink |
presence |
always |
details |
audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true |
| audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)32, depth=(int)32, signed=(boolean)true | |
| audio/x-raw-float, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)32 | |
| audio/x-raw-float, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)64 |
name |
src |
direction |
source |
presence |
always |
details |
audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true |
| audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)32, depth=(int)32, signed=(boolean)true | |
| audio/x-raw-float, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)32 | |
| audio/x-raw-float, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)64 |
typedef struct {
GstBaseTransform element;
GstCaps *srccaps, *sinkcaps;
gboolean passthru;
gboolean need_discont;
guint64 offset;
guint64 ts_offset;
GstClockTime next_ts;
GstClockTime prev_ts, prev_duration;
int channels;
int i_rate;
int o_rate;
int filter_length;
ResampleState * resample;
} GstLegacyresample;
Opaque data structure.
"filter-length" property"filter-length" gint : Read / Write / Construct
Length of the resample filter.
Allowed values: >= 0
Default value: 16