tidy up C files.

This commit is contained in:
Miroslav Šedivý
2021-01-11 15:57:14 +01:00
parent a2ca3727fe
commit 94a9c7c10a
8 changed files with 6 additions and 25 deletions

View File

@ -1,7 +1,5 @@
#include "gst.h"
#include <gst/app/gstappsrc.h>
typedef struct SampleHandlerUserData {
int pipelineId;
} SampleHandlerUserData;

View File

@ -1,10 +1,7 @@
#ifndef GST_H
#define GST_H
#pragma once
#include <glib.h>
#include <gst/gst.h>
#include <stdint.h>
#include <stdlib.h>
#include <gst/app/gstappsrc.h>
extern void goHandlePipelineBuffer(void *buffer, int bufferLen, int samples, int pipelineId);
@ -15,5 +12,3 @@ 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