summaryrefslogtreecommitdiffstats
path: root/gst/stereo
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-03-19 04:10:06 +0000
committerAndy Wingo <wingo@pobox.com>2002-03-19 04:10:06 +0000
commit4359de26166000e317604b6b20283c79dd2a0521 (patch)
treebc587b41e92b76e4f12e5e11984989e4e89d9935 /gst/stereo
parent0dc999da00ffc311ee1fc040ab754dab6660f2c7 (diff)
downloadgst-plugins-bad-4359de26166000e317604b6b20283c79dd2a0521.tar.gz
gst-plugins-bad-4359de26166000e317604b6b20283c79dd2a0521.tar.bz2
gst-plugins-bad-4359de26166000e317604b6b20283c79dd2a0521.zip
removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS: * removal of //-style comments * don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct, and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
Diffstat (limited to 'gst/stereo')
-rw-r--r--gst/stereo/Makefile.am2
-rw-r--r--gst/stereo/gststereo.c16
2 files changed, 9 insertions, 9 deletions
diff --git a/gst/stereo/Makefile.am b/gst/stereo/Makefile.am
index 2ddc30f4..486ac716 100644
--- a/gst/stereo/Makefile.am
+++ b/gst/stereo/Makefile.am
@@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libgststereo.la
libgststereo_la_SOURCES = gststereo.c
libgststereo_la_CFLAGS = $(GST_CFLAGS)
-libgststereo_la_LIBADD = $(GST_LIBS)
+libgststereo_la_LIBADD =
libgststereo_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = gststereo.h
diff --git a/gst/stereo/gststereo.c b/gst/stereo/gststereo.c
index 622dd5d4..99b69ddd 100644
--- a/gst/stereo/gststereo.c
+++ b/gst/stereo/gststereo.c
@@ -52,7 +52,7 @@ static void gst_stereo_get_property (GObject *object, guint prop_id, GValue *va
static void gst_stereo_chain (GstPad *pad, GstBuffer *buf);
static GstElementClass *parent_class = NULL;
-//static guint gst_stereo_signals[LAST_SIGNAL] = { 0 };
+/*static guint gst_stereo_signals[LAST_SIGNAL] = { 0 }; */
GType
gst_stereo_get_type(void) {
@@ -87,10 +87,10 @@ gst_stereo_class_init (GstStereoClass *klass)
g_object_class_install_property(G_OBJECT_CLASS(klass), ARG_ACTIVE,
g_param_spec_int("active","active","active",
- G_MININT,G_MAXINT,0,G_PARAM_READWRITE)); // CHECKME
+ G_MININT,G_MAXINT,0,G_PARAM_READWRITE)); /* CHECKME */
g_object_class_install_property(G_OBJECT_CLASS(klass), ARG_STEREO,
g_param_spec_float("stereo","stereo","stereo",
- 0.0,1.0,0.0,G_PARAM_READWRITE)); // CHECKME
+ 0.0,1.0,0.0,G_PARAM_READWRITE)); /* CHECKME */
gobject_class->set_property = gst_stereo_set_property;
gobject_class->get_property = gst_stereo_get_property;
@@ -126,13 +126,13 @@ gst_stereo_chain (GstPad *pad,GstBuffer *buf)
g_return_if_fail(stereo != NULL);
g_return_if_fail(GST_IS_STEREO(stereo));
-// FIXME
-// if (buf->meta)
-// memcpy(&stereo->meta,buf->meta,sizeof(stereo->meta));
+/* FIXME */
+/* if (buf->meta) */
+/* memcpy(&stereo->meta,buf->meta,sizeof(stereo->meta)); */
if (stereo->active) {
- //if (stereo->meta.channels == 2 && stereo->meta.format == AFMT_S16_LE) {
+ /*if (stereo->meta.channels == 2 && stereo->meta.format == AFMT_S16_LE) { */
data = (gint16 *)GST_BUFFER_DATA(buf);
samples = GST_BUFFER_SIZE(buf) / 2;
mul = stereo->stereo;
@@ -155,7 +155,7 @@ gst_stereo_chain (GstPad *pad,GstBuffer *buf)
tmp = 32767;
data[i + 1] = tmp;
}
- //}
+ /*} */
}
gst_pad_push(stereo->srcpad,buf);