diff options
author | Andy Wingo <wingo@pobox.com> | 2002-03-19 04:10:06 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2002-03-19 04:10:06 +0000 |
commit | 4359de26166000e317604b6b20283c79dd2a0521 (patch) | |
tree | bc587b41e92b76e4f12e5e11984989e4e89d9935 /ext/artsd | |
parent | 0dc999da00ffc311ee1fc040ab754dab6660f2c7 (diff) | |
download | gst-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 'ext/artsd')
-rw-r--r-- | ext/artsd/Makefile.am | 2 | ||||
-rw-r--r-- | ext/artsd/gstartsdsink.c | 28 |
2 files changed, 15 insertions, 15 deletions
diff --git a/ext/artsd/Makefile.am b/ext/artsd/Makefile.am index c3ee6227..e467d5a9 100644 --- a/ext/artsd/Makefile.am +++ b/ext/artsd/Makefile.am @@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libartsdsink.la libartsdsink_la_SOURCES = gstartsdsink.c libartsdsink_la_CFLAGS = $(GST_CFLAGS) $(ARTSC_CFLAGS) -libartsdsink_la_LIBADD = $(GST_LIBS) $(ARTSC_LIBS) +libartsdsink_la_LIBADD = $(ARTSC_LIBS) libartsdsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) noinst_HEADERS = gstartsdsink.h diff --git a/ext/artsd/gstartsdsink.c b/ext/artsd/gstartsdsink.c index 0a870702..c829d502 100644 --- a/ext/artsd/gstartsdsink.c +++ b/ext/artsd/gstartsdsink.c @@ -126,7 +126,7 @@ gst_artsdsink_channels_get_type (void) static GstElementClass *parent_class = NULL; -//static guint gst_artsdsink_signals[LAST_SIGNAL] = { 0 }; +/*static guint gst_artsdsink_signals[LAST_SIGNAL] = { 0 }; */ GType gst_artsdsink_get_type (void) @@ -162,19 +162,19 @@ gst_artsdsink_class_init (GstArtsdsinkClass *klass) g_object_class_install_property(G_OBJECT_CLASS(klass), ARG_MUTE, g_param_spec_boolean("mute","mute","mute", - TRUE,G_PARAM_READWRITE)); // CHECKME + TRUE,G_PARAM_READWRITE)); /* CHECKME */ g_object_class_install_property(G_OBJECT_CLASS(klass), ARG_DEPTH, g_param_spec_enum("depth","depth","depth", - GST_TYPE_ARTSDSINK_DEPTHS,16,G_PARAM_READWRITE)); // CHECKME! + GST_TYPE_ARTSDSINK_DEPTHS,16,G_PARAM_READWRITE)); /* CHECKME! */ g_object_class_install_property(G_OBJECT_CLASS(klass), ARG_CHANNELS, g_param_spec_enum("channels","channels","channels", - GST_TYPE_ARTSDSINK_CHANNELS,2,G_PARAM_READWRITE)); // CHECKME! + GST_TYPE_ARTSDSINK_CHANNELS,2,G_PARAM_READWRITE)); /* CHECKME! */ g_object_class_install_property(G_OBJECT_CLASS(klass), ARG_RATE, g_param_spec_int("frequency","frequency","frequency", - 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_NAME, g_param_spec_string("name","name","name", - NULL, G_PARAM_READWRITE)); // CHECKME + NULL, G_PARAM_READWRITE)); /* CHECKME */ gobject_class->set_property = gst_artsdsink_set_property; gobject_class->get_property = gst_artsdsink_get_property; @@ -193,7 +193,7 @@ gst_artsdsink_init(GstArtsdsink *artsdsink) artsdsink->connected = FALSE; artsdsink->mute = FALSE; - // FIXME: get default from somewhere better than just putting them inline. + /* FIXME: get default from somewhere better than just putting them inline. */ artsdsink->signd = TRUE; artsdsink->depth = 16; artsdsink->channels = 2; @@ -209,7 +209,7 @@ gst_artsdsink_sync_parms (GstArtsdsink *artsdsink) if (!artsdsink->connected) return TRUE; - // Need to set stream to use new parameters: only way to do this is to reopen. + /* Need to set stream to use new parameters: only way to do this is to reopen. */ gst_artsdsink_close_audio (artsdsink); return gst_artsdsink_open_audio (artsdsink); } @@ -347,12 +347,12 @@ gst_artsdsink_open_audio (GstArtsdsink *sink) const char * connname = "gstreamer"; int errcode; - // Name used by aRtsd for this connection. + /* Name used by aRtsd for this connection. */ if (sink->connect_name != NULL) connname = sink->connect_name; - // FIXME: this should only ever happen once per process. - // Really, artsc needs to be made thread safe to fix this (and other related - // problems). + /* FIXME: this should only ever happen once per process. */ + /* Really, artsc needs to be made thread safe to fix this (and other related */ + /* problems). */ errcode = arts_init(); if(errcode < 0) { fprintf(stderr,"arts_init error: %s\n", arts_error_text(errcode)); @@ -362,8 +362,8 @@ gst_artsdsink_open_audio (GstArtsdsink *sink) GST_DEBUG (0, "artsdsink: attempting to open connection to aRtsd server\n"); sink->stream = arts_play_stream(sink->frequency, sink->depth, sink->channels, connname); - // FIXME: check connection - // GST_DEBUG (0, "artsdsink: can't open connection to aRtsd server\n"); + /* FIXME: check connection */ + /* GST_DEBUG (0, "artsdsink: can't open connection to aRtsd server\n"); */ GST_FLAG_SET (sink, GST_ARTSDSINK_OPEN); sink->connected = TRUE; |