summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2008-08-07 13:15:21 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-01-02 14:30:07 +0000
commite0d25d42db70a4f87080ed8b993b23a37547fec7 (patch)
tree8cb88450232c4e0e62f1a15b2536ecb5ffb6939f
parent37f51bb59dc64667c539ce0834f50d7d1b25edff (diff)
ext/jack/gstjackaudiosrc.c: Try committing this once again. Now properly renamed.
Original commit message from CVS: * ext/jack/gstjackaudiosrc.c: Try committing this once again. Now properly renamed.
-rw-r--r--ext/jack/gstjackaudiosrc.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/ext/jack/gstjackaudiosrc.c b/ext/jack/gstjackaudiosrc.c
index 7be5ee3f2..6462d239f 100644
--- a/ext/jack/gstjackaudiosrc.c
+++ b/ext/jack/gstjackaudiosrc.c
@@ -41,7 +41,7 @@
*/
/**
- * SECTION:element-jackaudiosrc
+ * SECTION:element-jack_audio_src
* @see_also: #GstBaseAudioSrc, #GstRingBuffer
*
* A Src that inputs data from Jack ports.
@@ -82,7 +82,7 @@
#include "gstjackringbuffer.h"
GST_DEBUG_CATEGORY_STATIC (gst_jack_audio_src_debug);
-#define GST_CAT_DEFAULT gst_jackaudiosrc_debug
+#define GST_CAT_DEFAULT gst_jack_audio_src_debug
static gboolean
gst_jack_audio_src_allocate_channels (GstJackAudioSrc * src, gint channels)
@@ -646,24 +646,24 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
#define _do_init(bla) \
GST_DEBUG_CATEGORY_INIT(gst_jack_audio_src_debug, "jacksrc", 0, "jacksrc element");
-GST_BOILERPLATE_FULL (GstJackAudioSrc, gst_jackaudiosrc, GstBaseAudioSrc,
+GST_BOILERPLATE_FULL (GstJackAudioSrc, gst_jack_audio_src, GstBaseAudioSrc,
GST_TYPE_BASE_AUDIO_SRC, _do_init);
-static void gst_jackaudiosrc_set_property (GObject * object, guint prop_id,
+static void gst_jack_audio_src_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec);
-static void gst_jackaudiosrc_get_property (GObject * object, guint prop_id,
+static void gst_jack_audio_src_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec);
-static GstCaps *gst_jackaudiosrc_getcaps (GstBaseSrc * bsrc);
-static GstRingBuffer *gst_jackaudiosrc_create_ringbuffer (GstBaseAudioSrc *
+static GstCaps *gst_jack_audio_src_getcaps (GstBaseSrc * bsrc);
+static GstRingBuffer *gst_jack_audio_src_create_ringbuffer (GstBaseAudioSrc *
src);
/* GObject vmethod implementations */
static void
-gst_jackaudiosrc_base_init (gpointer gclass)
+gst_jack_audio_src_base_init (gpointer gclass)
{
- static GstElementDetails gst_jackaudiosrc_details = {
+ static GstElementDetails gst_jack_audio_src_details = {
"Audio Source (Jack)",
"Source/Audio",
"Input from Jack",
@@ -673,12 +673,12 @@ gst_jackaudiosrc_base_init (gpointer gclass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_factory));
- gst_element_class_set_details (element_class, &gst_jackaudiosrc_details);
+ gst_element_class_set_details (element_class, &gst_jack_audio_src_details);
}
-/* initialize the jackaudiosrc's class */
+/* initialize the jack_audio_src's class */
static void
-gst_jackaudiosrc_class_init (GstJackAudioSrcClass * klass)
+gst_jack_audio_src_class_init (GstJackAudioSrcClass * klass)
{
GObjectClass *gobject_class;
GstElementClass *gstelement_class;
@@ -723,7 +723,7 @@ gst_jackaudiosrc_class_init (GstJackAudioSrcClass * klass)
* initialize instance structure
*/
static void
-gst_jackaudiosrc_init (GstJackAudioSrc * src, GstJackAudioSrcClass * gclass)
+gst_jack_audio_src_init (GstJackAudioSrc * src, GstJackAudioSrcClass * gclass)
{
//gst_base_src_set_live(GST_BASE_SRC (src), TRUE);
src->connect = DEFAULT_PROP_CONNECT;
@@ -733,7 +733,7 @@ gst_jackaudiosrc_init (GstJackAudioSrc * src, GstJackAudioSrcClass * gclass)
}
static void
-gst_jackaudiosrc_set_property (GObject * object, guint prop_id,
+gst_jack_audio_src_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec)
{
GstJackAudioSrc *src = GST_JACK_AUDIO_SRC (object);
@@ -753,7 +753,7 @@ gst_jackaudiosrc_set_property (GObject * object, guint prop_id,
}
static void
-gst_jackaudiosrc_get_property (GObject * object, guint prop_id,
+gst_jack_audio_src_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec)
{
GstJackAudioSrc *src = GST_JACK_AUDIO_SRC (object);
@@ -772,7 +772,7 @@ gst_jackaudiosrc_get_property (GObject * object, guint prop_id,
}
static GstCaps *
-gst_jackaudiosrc_getcaps (GstBaseSrc * bsrc)
+gst_jack_audio_src_getcaps (GstBaseSrc * bsrc)
{
GstJackAudioSrc *src = GST_JACK_AUDIO_SRC (bsrc);
const char **ports;
@@ -829,7 +829,7 @@ no_client:
}
static GstRingBuffer *
-gst_jackaudiosrc_create_ringbuffer (GstBaseAudioSrc * src)
+gst_jack_audio_src_create_ringbuffer (GstBaseAudioSrc * src)
{
GstRingBuffer *buffer;