GStreamer Good Plugins 0.10 Plugins Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Monoscope is an audio visualisation element. It creates a coloured curve of the audio signal like on an oscilloscope.
typedef struct { GstElement element; /* pads */ GstPad *sinkpad; GstPad *srcpad; GstAdapter *adapter; guint64 next_ts; /* expected timestamp of the next frame */ guint64 frame_duration; /* video frame duration */ gint rate; /* sample rate */ guint bps; /* bytes per sample */ guint spf; /* samples per video frame */ GstSegment segment; /* QoS stuff *//* with LOCK */ gdouble proportion; GstClockTime earliest_time; /* video state */ gint fps_num; gint fps_denom; gint width; gint height; guint outsize; /* visualisation state */ struct monoscope_state *visstate; } GstMonoscope;