aboutsummaryrefslogtreecommitdiff
path: root/gst/gst.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gst.h')
-rw-r--r--gst/gst.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/gst/gst.h b/gst/gst.h
new file mode 100644
index 0000000..1103a6a
--- /dev/null
+++ b/gst/gst.h
@@ -0,0 +1,20 @@
+#ifndef GST_H
+#define GST_H
+
+#include <glib.h>
+#include <gst/gst.h>
+#include <stdint.h>
+#include <stdlib.h>
+
+extern void goHandlePipelineBuffer(void *buffer, int bufferLen, int samples, int isVideo);
+
+GstElement *gstreamer_send_create_pipeline(char *pipeline);
+void gstreamer_send_start_pipeline(GstElement *pipeline);
+
+void gstreamer_send_play_pipeline(GstElement *pipeline);
+void gstreamer_send_pause_pipeline(GstElement *pipeline);
+void gstreamer_send_seek(GstElement *pipeline, int64_t seek_pos);
+
+void gstreamer_send_start_mainloop(void);
+
+#endif