2021-01-12 03:57:14 +13:00
|
|
|
#pragma once
|
2020-10-23 03:54:50 +13:00
|
|
|
|
|
|
|
#include <gst/gst.h>
|
2021-01-12 03:57:14 +13:00
|
|
|
#include <gst/app/gstappsrc.h>
|
2020-10-23 03:54:50 +13:00
|
|
|
|
|
|
|
extern void goHandlePipelineBuffer(void *buffer, int bufferLen, int samples, int pipelineId);
|
|
|
|
|
2021-11-29 10:19:06 +13:00
|
|
|
void gstreamer_pipeline_attach_appsink(GstElement *pipeline, char *sinkName, int pipelineId);
|
|
|
|
GstElement *gstreamer_pipeline_create(char *pipelineStr, GError **error);
|
|
|
|
void gstreamer_pipeline_play(GstElement *pipeline);
|
|
|
|
void gstreamer_pipeline_stop(GstElement *pipeline);
|
|
|
|
|
2020-10-23 03:54:50 +13:00
|
|
|
void gstreamer_init(void);
|