diff options
Diffstat (limited to 'tools/gstaudiosrc.c')
-rw-r--r-- | tools/gstaudiosrc.c | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/tools/gstaudiosrc.c b/tools/gstaudiosrc.c new file mode 100644 index 000000000..95f20e752 --- /dev/null +++ b/tools/gstaudiosrc.c @@ -0,0 +1,59 @@ +% ClassName +GstAudioSrc +% TYPE_CLASS_NAME +GST_TYPE_AUDIO_SRC +% pkg-config +gstreamer-audio-0.10 +% includes +#include <gst/audio/gstaudiosrc.h> +% prototypes +static gboolean gst_replace_open (GstAudioSink * sink); +static gboolean +gst_replace_prepare (GstAudioSink * sink, GstRingBufferSpec * spec); +static gboolean gst_replace_unprepare (GstAudioSink * sink); +static gboolean gst_replace_close (GstAudioSink * sink); +static guint +gst_replace_write (GstAudioSink * sink, gpointer data, guint length); +static guint gst_replace_delay (GstAudioSink * sink); +static void gst_replace_reset (GstAudioSink * sink); +% declare-class + GstAudioSrc *audio_src_class = GST_AUDIO_SRC (klass); +% set-methods + audio_src_class-> = GST_DEBUG_FUNCPTR (gst_replace_); +% methods + +static gboolean +gst_replace_open (GstAudioSink * sink) +{ +} + +static gboolean +gst_replace_prepare (GstAudioSink * sink, GstRingBufferSpec * spec) +{ +} + +static gboolean +gst_replace_unprepare (GstAudioSink * sink) +{ +} + +static gboolean +gst_replace_close (GstAudioSink * sink) +{ +} + +static guint +gst_replace_write (GstAudioSink * sink, gpointer data, guint length) +{ +} + +static guint +gst_replace_delay (GstAudioSink * sink) +{ +} + +static void +gst_replace_reset (GstAudioSink * sink) +{ +} +% end |