1 /* vim: set filetype=c: */
11 #include <gst/audio/gstaudiosink.h>
13 static gboolean gst_replace_open (GstAudioSink * sink);
15 gst_replace_prepare (GstAudioSink * sink, GstRingBufferSpec * spec);
16 static gboolean gst_replace_unprepare (GstAudioSink * sink);
17 static gboolean gst_replace_close (GstAudioSink * sink);
18 static guint gst_replace_write (GstAudioSink * sink, gpointer data, guint length);
19 static guint gst_replace_delay (GstAudioSink * sink);
20 static void gst_replace_reset (GstAudioSink * sink);
22 GstAudioSinkClass *audio_sink_class = GST_AUDIO_SINK_CLASS (klass);
24 audio_sink_class->open = GST_DEBUG_FUNCPTR (gst_replace_open);
25 audio_sink_class->prepare = GST_DEBUG_FUNCPTR (gst_replace_prepare);
26 audio_sink_class->unprepare = GST_DEBUG_FUNCPTR (gst_replace_unprepare);
27 audio_sink_class->close = GST_DEBUG_FUNCPTR (gst_replace_close);
28 audio_sink_class->write = GST_DEBUG_FUNCPTR (gst_replace_write);
29 audio_sink_class->delay = GST_DEBUG_FUNCPTR (gst_replace_delay);
30 audio_sink_class->reset = GST_DEBUG_FUNCPTR (gst_replace_reset);
34 gst_replace_open (GstAudioSink * sink)
40 gst_replace_prepare (GstAudioSink * sink, GstRingBufferSpec * spec)
46 gst_replace_unprepare (GstAudioSink * sink)
52 gst_replace_close (GstAudioSink * sink)
58 gst_replace_write (GstAudioSink * sink, gpointer data, guint length)
64 gst_replace_delay (GstAudioSink * sink)
70 gst_replace_reset (GstAudioSink * sink)