+2007-02-12 Stefan Kost <ensonic@users.sf.net>
+
+ * configure.ac:
+ * docs/libs/Makefile.am:
+ * docs/plugins/Makefile.am:
+ Add crossreferences to glib/gobject/gstream docs.
+
+ * gst-libs/gst/audio/audio.h:
+ Source formatting.
+
+ * gst/audiotestsrc/gstaudiotestsrc.c: (plugin_init):
+ Add own debug category.
+
2007-02-12 Tim-Philipp Müller <tim at centricular dot net>
Patch by: René Stadler <mail at renestadler de>
2006-09-17 Stefan Kost <ensonic@users.sf.net>
+ reviewed by: <delete if not using a buddy>
+
+ * gst-libs/gst/audio/audio.h:
+ * gst/audiotestsrc/gstaudiotestsrc.c: (plugin_init):
+
+2006-09-17 Stefan Kost <ensonic@users.sf.net>
+
* gst/audioconvert/gstaudioconvert.c: (set_structure_widths),
(gst_audio_convert_transform_caps):
Get structure-name just once.
dnl Check for a way to display the function name in debug output
GST_CHECK_FUNCTION
-dnl *** checks for dependancy libraries ***
+dnl *** checks for dependency libraries ***
dnl GLib is required
GST_GLIB_CHECK([2.6])
AM_PATH_CHECK(0.9.2, HAVE_CHECK=yes, HAVE_CHECK=no)
AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes")
+dnl Check for documentation xrefs
+GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
+GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
+AC_SUBST(GLIB_PREFIX)
+AC_SUBST(GST_PREFIX)
+
dnl GTK is optional and used in examples
HAVE_GTK=NO
PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.2.0, HAVE_GTK_22=yes, HAVE_GTK_22=no)
MKDB_OPTIONS=--sgml-mode --ignore-files=trio
# Extra options to supply to gtkdoc-fixref.
-# FIXME get the location of the installed gstreamer docs
-#FIXXREF_OPTIONS=--extra-dir=../gst/html
+FIXXREF_OPTIONS=--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
+ --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
+ --extra-dir=$(GST_PREFIX)/share/gtk-doc/html/gstreamer-@GST_MAJORMINOR@ \
+ --extra-dir=$(GST_PREFIX)/share/gtk-doc/html/gstreamer-libs-@GST_MAJORMINOR@
# Used for dependencies.
HFILE_GLOB=$(DOC_SOURCE_DIR)/*/*.h
MKDB_OPTIONS=--sgml-mode
# Extra options to supply to gtkdoc-fixref.
-# FIXME get the location of the installed gstreamer docs
-#FIXXREF_OPTIONS=--extra-dir=../gst/html
+FIXXREF_OPTIONS=--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
+ --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
+ --extra-dir=$(GST_PREFIX)/share/gtk-doc/html/gstreamer-@GST_MAJORMINOR@ \
+ --extra-dir=$(GST_PREFIX)/share/gtk-doc/html/gstreamer-libs-@GST_MAJORMINOR@
# Used for dependencies.
HFILE_GLOB=$(DOC_SOURCE_DIR)/*/*/*.h
((GstClockTime) (((gdouble) frames / rate) * GST_SECOND))
#define GST_CLOCK_TIME_TO_FRAMES(clocktime, rate) \
- ((gint64) ((gst_guint64_to_gdouble(clocktime) / GST_SECOND) * rate))
+ ((gint64) ((gst_guint64_to_gdouble (clocktime) / GST_SECOND) * rate))
#define GST_AUDIO_DEF_RATE 44100
/* GStreamer
* Copyright (C) 2005 Stefan Kost <ensonic@users.sf.net>
*
- * gstaudiotestsrc.c:
- *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
#define M_PI_M2 ( M_PI + M_PI )
+GST_DEBUG_CATEGORY_STATIC (audio_test_src_debug);
+#define GST_CAT_DEFAULT audio_test_src_debug
+
static const GstElementDetails gst_audio_test_src_details =
GST_ELEMENT_DETAILS ("Audio test source",
"Source/Audio",
/* initialize gst controller library */
gst_controller_init (NULL, NULL);
+ GST_DEBUG_CATEGORY_INIT (audio_test_src_debug, "audiotestsrc", 0,
+ "Audio Test Source");
+
return gst_element_register (plugin, "audiotestsrc",
GST_RANK_NONE, GST_TYPE_AUDIO_TEST_SRC);
}