summaryrefslogtreecommitdiff
path: root/tools/element-templates/cddabasesrc
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-02-28 12:06:12 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-02-28 12:06:12 +0100
commit2eb38991c6d67e47ef90246b2561588cf4b5f390 (patch)
treeaa84497e9b719c9a2c1a5bf8657a3cdcae32c9d6 /tools/element-templates/cddabasesrc
parent670c883f401367e2591f446e63b5102cb2aba72f (diff)
parenta68137c4dcdbf3dce5cd278403478aef1de62f59 (diff)
Merge branch 'master' into 0.11
Conflicts: configure.ac win32/common/config.h
Diffstat (limited to 'tools/element-templates/cddabasesrc')
-rw-r--r--tools/element-templates/cddabasesrc54
1 files changed, 54 insertions, 0 deletions
diff --git a/tools/element-templates/cddabasesrc b/tools/element-templates/cddabasesrc
new file mode 100644
index 000000000..d788d19c4
--- /dev/null
+++ b/tools/element-templates/cddabasesrc
@@ -0,0 +1,54 @@
+/* vim: set filetype=c: */
+% ClassName
+GstCddaBaseSrc
+% TYPE_CLASS_NAME
+GST_TYPE_CDDA_BASE_SRC
+% pads
+srcpad-simple
+% pkg-config
+gstreamer-cdda-0.10
+% includes
+#include <gst/cdda/gstcddabasesrc.h>
+% prototypes
+static gboolean gst_replace_open (GstCddaBaseSrc * src, const gchar * device);
+static void gst_replace_close (GstCddaBaseSrc * src);
+static GstBuffer *gst_replace_read_sector (GstCddaBaseSrc * src, gint sector);
+static gchar *gst_replace_get_default_device (GstCddaBaseSrc * src);
+static gchar **gst_replace_probe_devices (GstCddaBaseSrc * src);
+% declare-class
+ GstcddaBaseSrc *cddabase_src_class = GST_CDDABASE_SRC (klass);
+% set-methods
+ cddabase_src_class-> = GST_DEBUG_FUNCPTR (gst_replace_);
+% methods
+
+
+static gboolean
+gst_replace_open (GstCddaBaseSrc * src, const gchar * device)
+{
+
+}
+
+static void
+gst_replace_close (GstCddaBaseSrc * src)
+{
+
+}
+
+static GstBuffer *
+gst_replace_read_sector (GstCddaBaseSrc * src, gint sector)
+{
+
+}
+
+static gchar *
+gst_replace_get_default_device (GstCddaBaseSrc * src)
+{
+
+}
+
+static gchar **
+gst_replace_probe_devices (GstCddaBaseSrc * src)
+{
+
+}
+% end