element-maker: improve generation of several classes
[platform/upstream/gstreamer.git] / tools / gstbaseaudiosink.c
1 % ClassName
2 GstBaseAudioSink
3 % TYPE_CLASS_NAME
4 GST_TYPE_BASE_AUDIO_SINK
5 % pads
6 sinkpad-simple
7 % pkg-config
8 gstreamer-audio-0.10
9 % includes
10 #include <gst/audio/gstbaseaudiosink.h>
11 % prototypes
12 static GstRingBuffer *gst_replace_create_ringbuffer (GstBaseAudioSink * sink);
13 % declare-class
14   GstBaseAudioSinkClass *base_audio_sink_class = GST_BASE_AUDIO_SINK_CLASS (klass);
15 % set-methods
16   base_audio_sink_class->create_ringbuffer = GST_DEBUG_FUNCPTR (gst_replace_create_ringbuffer);
17 % methods
18
19 static GstRingBuffer *
20 gst_replace_create_ringbuffer (GstBaseAudioSink * sink)
21 {
22   return NULL;
23 }
24 % end