gstreamer/tools/gstbaseaudiosink.c
David Schleef da1fe1e0dd element-maker: improve generation of several classes
Better creation of pads, test and fix many other classes.  Most
classes work now, although might not create functional elements.
2010-12-14 19:04:45 -08:00

24 lines
596 B
C

% ClassName
GstBaseAudioSink
% TYPE_CLASS_NAME
GST_TYPE_BASE_AUDIO_SINK
% pads
sinkpad-simple
% pkg-config
gstreamer-audio-0.10
% includes
#include <gst/audio/gstbaseaudiosink.h>
% prototypes
static GstRingBuffer *gst_replace_create_ringbuffer (GstBaseAudioSink * sink);
% declare-class
GstBaseAudioSinkClass *base_audio_sink_class = GST_BASE_AUDIO_SINK_CLASS (klass);
% set-methods
base_audio_sink_class->create_ringbuffer = GST_DEBUG_FUNCPTR (gst_replace_create_ringbuffer);
% methods
static GstRingBuffer *
gst_replace_create_ringbuffer (GstBaseAudioSink * sink)
{
return NULL;
}
% end