14 lines
454 B
C
Raw Permalink Normal View History

2021-11-07 17:09:00 +01:00
#pragma once
2020-01-13 08:05:38 +00:00
#include <gst/gst.h>
2021-11-07 17:09:00 +01:00
#include <gst/app/gstappsrc.h>
2020-01-13 08:05:38 +00:00
extern void goHandlePipelineBuffer(void *buffer, int bufferLen, int samples, int pipelineId);
2021-08-15 15:37:27 +02:00
GstElement *gstreamer_send_create_pipeline(char *pipeline, GError **error);
2020-01-18 23:30:09 +00:00
2020-01-13 08:05:38 +00:00
void gstreamer_send_start_pipeline(GstElement *pipeline, int pipelineId);
2020-09-24 08:09:02 +02:00
void gstreamer_send_play_pipeline(GstElement *pipeline);
2020-01-13 08:05:38 +00:00
void gstreamer_send_stop_pipeline(GstElement *pipeline);
2020-01-18 23:30:09 +00:00
void gstreamer_init(void);