mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
jack: remove empty dispose and finalize methods
This commit is contained in:
parent
2b7ca1413a
commit
3153aa995f
3 changed files with 0 additions and 38 deletions
|
@ -160,9 +160,6 @@ gst_jack_ring_buffer_class_init (GstJackRingBufferClass * klass)
|
|||
|
||||
ring_parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->dispose = gst_jack_ring_buffer_dispose;
|
||||
gobject_class->finalize = gst_jack_ring_buffer_finalize;
|
||||
|
||||
gstringbuffer_class->open_device =
|
||||
GST_DEBUG_FUNCPTR (gst_jack_ring_buffer_open_device);
|
||||
gstringbuffer_class->close_device =
|
||||
|
@ -319,22 +316,6 @@ gst_jack_ring_buffer_init (GstJackRingBuffer * buf,
|
|||
buf->sample_rate = -1;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_jack_ring_buffer_dispose (GObject * object)
|
||||
{
|
||||
G_OBJECT_CLASS (ring_parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
static void
|
||||
gst_jack_ring_buffer_finalize (GObject * object)
|
||||
{
|
||||
GstJackRingBuffer *ringbuffer;
|
||||
|
||||
ringbuffer = GST_JACK_RING_BUFFER_CAST (object);
|
||||
|
||||
G_OBJECT_CLASS (ring_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
/* the _open_device method should make a connection with the server
|
||||
*/
|
||||
static gboolean
|
||||
|
|
|
@ -178,9 +178,6 @@ gst_jack_ring_buffer_class_init (GstJackRingBufferClass * klass)
|
|||
|
||||
ring_parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->dispose = gst_jack_ring_buffer_dispose;
|
||||
gobject_class->finalize = gst_jack_ring_buffer_finalize;
|
||||
|
||||
gstringbuffer_class->open_device =
|
||||
GST_DEBUG_FUNCPTR (gst_jack_ring_buffer_open_device);
|
||||
gstringbuffer_class->close_device =
|
||||
|
@ -322,20 +319,6 @@ gst_jack_ring_buffer_init (GstJackRingBuffer * buf,
|
|||
buf->sample_rate = -1;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_jack_ring_buffer_dispose (GObject * object)
|
||||
{
|
||||
G_OBJECT_CLASS (ring_parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
static void
|
||||
gst_jack_ring_buffer_finalize (GObject * object)
|
||||
{
|
||||
GstJackRingBuffer *ringbuffer;
|
||||
ringbuffer = GST_JACK_RING_BUFFER_CAST (object);
|
||||
G_OBJECT_CLASS (ring_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
/* the _open_device method should make a connection with the server
|
||||
*/
|
||||
static gboolean
|
||||
|
|
|
@ -73,8 +73,6 @@ struct _GstJackRingBufferClass
|
|||
static void gst_jack_ring_buffer_class_init(GstJackRingBufferClass * klass);
|
||||
static void gst_jack_ring_buffer_init(GstJackRingBuffer * ringbuffer,
|
||||
GstJackRingBufferClass * klass);
|
||||
static void gst_jack_ring_buffer_dispose(GObject * object);
|
||||
static void gst_jack_ring_buffer_finalize(GObject * object);
|
||||
|
||||
static GstRingBufferClass *ring_parent_class = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue