| GStreamer Bad Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Properties | ||||
"megabass" gboolean : Read / Write "megabass-amount" gint : Read / Write "megabass-range" gint : Read / Write "noise-reduction" gboolean : Read / Write "oversamp" gboolean : Read / Write "reverb" gboolean : Read / Write "reverb-delay" gint : Read / Write "reverb-depth" gint : Read / Write "songname" gchar* : Read "surround" gboolean : Read / Write "surround-delay" gint : Read / Write "surround-depth" gint : Read / Write
Modplug uses the modplug library to decode tracked music in the MOD/S3M/XM/IT and related formats.
gst-launch -v filesrc location=1990s-nostalgia.xm ! modplug ! audioconvert ! alsasink
plugin |
modplug |
author |
Jeremy SIMON <jsimon13@yahoo.fr> |
class |
Codec/Decoder/Audio |
name |
src |
direction |
source |
presence |
always |
details |
audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int){ 8000, 11025, 22050, 44100 }, channels=(int)[ 1, 2 ] |
| audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int){ 8000, 11025, 22050, 44100 }, channels=(int)[ 1, 2 ] | |
| audio/x-raw-int, endianness=(int)1234, signed=(boolean)false, width=(int)8, depth=(int)8, rate=(int){ 8000, 11025, 22050, 44100 }, channels=(int)[ 1, 2 ] |
name |
sink |
direction |
sink |
presence |
always |
details |
audio/x-mod |
| audio/x-xm | |
| audio/x-it | |
| audio/x-s3m | |
| audio/x-stm |
typedef struct {
GstElement element;
GstPad *sinkpad;
GstPad *srcpad;
/* properties */
const gchar *songname;
gboolean reverb;
gint reverb_depth;
gint reverb_delay;
gboolean megabass;
gint megabass_amount;
gint megabass_range;
gboolean surround;
gint surround_depth;
gint surround_delay;
gboolean noise_reduction;
gint bits;
gboolean oversamp;
gint channel;
gint frequency;
/* state */
GstBuffer *buffer;
gint32 read_bytes;
gint32 read_samples;
gint64 seek_at; /* pending seek, or -1 */
gint64 song_size; /* size of the raw song data in bytes */
gint64 song_length; /* duration of the song in nanoseconds */
gint64 offset; /* current position in samples */
gint64 timestamp;
CSoundFile *mSoundFile;
} GstModPlug;
"megabass-amount" property"megabass-amount" gint : Read / Write
Megabass amount.
Allowed values: [0,100]
Default value: 40
"megabass-range" property"megabass-range" gint : Read / Write
Megabass range.
Allowed values: [0,100]
Default value: 30
"noise-reduction" property"noise-reduction" gboolean : Read / Write
noise reduction.
Default value: TRUE
"reverb-delay" property"reverb-delay" gint : Read / Write
Reverb delay.
Allowed values: [0,200]
Default value: 100
"reverb-depth" property"reverb-depth" gint : Read / Write
Reverb depth.
Allowed values: [0,100]
Default value: 30
"surround-delay" property"surround-delay" gint : Read / Write
Surround delay.
Allowed values: [0,40]
Default value: 20