mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
20 lines
546 B
C
20 lines
546 B
C
#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, GError **error);
|
|
|
|
void gstreamer_send_start_pipeline(GstElement *pipeline, int pipelineId);
|
|
void gstreamer_send_play_pipeline(GstElement *pipeline);
|
|
void gstreamer_send_stop_pipeline(GstElement *pipeline);
|
|
void gstreamer_send_start_mainloop(void);
|
|
void gstreamer_init(void);
|
|
|
|
#endif
|