neko/server/internal/gst/gst.h

20 lines
530 B
C
Raw Normal View History

2020-01-13 21:05:38 +13:00
#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 pipelineId);
GstElement *gstreamer_send_create_pipeline(char *pipeline);
2020-01-19 12:30:09 +13:00
2020-01-13 21:05:38 +13:00
void gstreamer_send_start_pipeline(GstElement *pipeline, int pipelineId);
2021-03-30 00:03:25 +13:00
void gstreamer_send_play_pipeline(GstElement *pipeline);
2020-01-13 21:05:38 +13:00
void gstreamer_send_stop_pipeline(GstElement *pipeline);
void gstreamer_send_start_mainloop(void);
2020-01-19 12:30:09 +13:00
void gstreamer_init(void);
2020-01-13 21:05:38 +13:00
#endif