Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseSrc ╰── GstBtAudioSynth ├── GstBtEBeats ├── GstBtFluidSynth ├── GstBtSidSyn ├── GstBtSimSyn ├── GstBtWaveReplay ╰── GstBtWaveTabSyn
Base audio synthesizer to use as a foundation for new synthesizers. Handles tempo, seeking, trick mode playback and format negotiation. The pure virtual process and setup methods must be implemented by the child class. The setup vmethod provides the caps to negotiate. Form them the elemnt can take parameters such as sampling rate or data format.
struct GstBtAudioSynthClass { GstBaseSrcClass parent_class; /* virtual functions */ gboolean (*process) (GstBtAudioSynth * src, GstBuffer * data, GstMapInfo *info); void (*setup) (GstBtAudioSynth * src, GstPad * pad, GstCaps * caps); };
Class structure.
GstBaseSrcClass |
parent type |
|
vmethod for generating a block of audio, return false to indicate that a GAP buffer should be sent |
||
vmethod for initial processign setup |