From 21de09a438bd3858bd47705cbfbcb7562c2fbe6b Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 26 Dec 2001 06:49:47 +0000 Subject: muahahahaha. gstreamer-compprep initializes every plugin so it's a good way of figuring out plugin issues. it spits o... Original commit message from CVS: muahahahaha. gstreamer-compprep initializes every plugin so it's a good way of figuring out plugin issues. it spits out no more errors now. --- configure.ac | 14 +++++++++++--- ext/Makefile.am | 17 ++++++++++++----- ext/artsd/gstartsdsink.c | 4 ++-- 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index f1179a5b..3c808045 100644 --- a/configure.ac +++ b/configure.ac @@ -73,15 +73,17 @@ dnl # Super Duper options for plugin building # dnl ########################################### dnl experimental plugins; stuff that hasn't had the dust settle yet - +dnl read 'builds, but might not work' GST_CHECK_FEATURE(EXPERIMENTAL, [enable building of experimental plugins],, [HAVE_EXPERIMENTAL=yes],disabled, [ AC_MSG_WARN(building experimental plugins) USE_LIBMIKMOD="yes" + USE_SMOOTHWAVE="yes" ],[ AC_MSG_NOTICE(not building experimental plugins) USE_LIBMIKMOD="no" + USE_SMOOTHWAVE="no" ]) dnl broken plugins; stuff that doesn't seem to build at the moment @@ -287,7 +289,7 @@ GST_PLUGINS_ALL="\ median mpeg1enc mpeg1sys mpeg2enc mpeg2sub\ mpegaudio mpegaudioparse mpegstream mpegtypes\ passthrough playondemand rtjpeg silence sine\ - smooth smoothwave spectrum speed stereo stereomono\ + smooth spectrum speed stereo stereomono\ synaesthesia udp videoscale volenv volume vumeter wavparse y4m" AC_SUBST(GST_PLUGINS_ALL) @@ -596,6 +598,12 @@ GST_CHECK_FEATURE(SHOUT, [shout plugin], icecastsend, [ AC_SUBST(SHOUT_LIBS) ]) +dnl *** smoothwave *** +translit(dnm, m, l) AM_CONDITIONAL(USE_SMOOTHWAVE, true) +GST_CHECK_FEATURE(SMOOTHWAVE, [smoothwave plugin], smoothwave, [ + if test $HAVE_GTK = "yes"; then HAVE_SMOOTHWAVE=yes; fi; +]) + dnl for sidplay dnl FIXME : make this work dnl AC_PATH_LIBSIDPLAY @@ -1020,7 +1028,6 @@ gst/rtjpeg/Makefile gst/silence/Makefile gst/sine/Makefile gst/smooth/Makefile -gst/smoothwave/Makefile gst/spectrum/Makefile gst/speed/Makefile gst/stereo/Makefile @@ -1070,6 +1077,7 @@ ext/rtp/Makefile ext/sdl/Makefile ext/shout/Makefile ext/sidplay/Makefile +ext/smoothwave/Makefile ext/vorbis/Makefile ext/xmms/Makefile gst-libs/Makefile diff --git a/ext/Makefile.am b/ext/Makefile.am index 39ff5185..3ebdc5aa 100644 --- a/ext/Makefile.am +++ b/ext/Makefile.am @@ -160,6 +160,12 @@ else SHOUT_DIR= endif +if USE_SMOOTHWAVE +SMOOTHWAVE_DIR=smoothwave +else +SMOOTHWAVE_DIR= +endif + if USE_VORBIS VORBIS_DIR=vorbis else @@ -176,12 +182,13 @@ SUBDIRS=$(A52_DIR) $(AALIB_DIR) $(ALSA_DIR) \ $(ARTS_DIR) $(ARTSC_DIR) $(AUDIOFILE_DIR) \ $(AVIFILE_DIR) $(CDPARANOIA_DIR) $(DV_DIR) $(DVDREAD_DIR) $(ESD_DIR) \ $(FESTIVAL_DIR) $(FLAC_DIR) $(GNOMEVFS_DIR) $(GSM_DIR) $(HERMES_DIR) \ - $(HTTP_DIR) $(JPEG_DIR) $(LAME_DIR) $(MAD_DIR) \ - $(MIKMOD_DIR) $(MPEG2DEC_DIR) $(OPENQUICKTIME_DIR) \ - $(RAW1394_DIR) $(RTP_DIR) $(SDL_DIR) $(SHOUT_DIR) $(VORBIS_DIR) \ - $(XMMS_DIR) + $(HTTP_DIR) $(JPEG_DIR) $(LAME_DIR) $(MAD_DIR) $(MIKMOD_DIR) $(MPEG2DEC_DIR) \ + $(OPENQUICKTIME_DIR) $(RTP_DIR) $(SDL_DIR) $(SHOUT_DIR) \ + $(SMOOTHWAVE_DIR) $(VORBIS_DIR) $(XMMS_DIR) DIST_SUBDIRS=a52 aalib alsa arts artsd avifile audiofile cdparanoia \ dv dvdread esd \ + festival flac gnomevfs gsm hermes http jpeg lame mad mikmod mpeg2dec \ + openquicktime rtp sdl shout smoothwave vorbis xmms festival flac gnomevfs gsm hermes http jpeg ladspa lame mad mikmod mpeg2dec \ - openquicktime raw1394 rtp sdl shout sidplay vorbis xmms + openquicktime raw1394 rtp sdl shout sidplay smoothwave vorbis xmms diff --git a/ext/artsd/gstartsdsink.c b/ext/artsd/gstartsdsink.c index a49a2261..0a870702 100644 --- a/ext/artsd/gstartsdsink.c +++ b/ext/artsd/gstartsdsink.c @@ -165,10 +165,10 @@ gst_artsdsink_class_init (GstArtsdsinkClass *klass) 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,0,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,0,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 -- cgit v1.2.1