| GStreamer Bad Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Properties | ||||
This element renders midi-files as audio streams using Wildmidi. It offers better sound quality compared to the timidity element. Wildmidi uses the same sound-patches as timidity (it tries the path in $WILDMIDI_CFG, $HOME/.wildmidirc and /etc/wildmidi.cfg)
typedef struct {
GstElement element;
GstPad *sinkpad, *srcpad;
/* input stream properties */
GstWildmidiState state;
GstAdapter *adapter;
midi *song;
guint64 offset;
/* output data */
gboolean discont;
GstSegment o_segment[1];
gint64 o_len;
/* format of the stream */
guint bytes_per_frame;
/* wildmidi settings */
gboolean high_quality;
gboolean linear_volume;
} GstWildmidi;