This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <glib.h> | |
#include <gst/gst.h> | |
// compile: | |
// | |
// gcc main.c -o netradio_01 `pkg-config gstreamer-1.0 --libs --cflags` | |
static gboolean bus_call(GstBus *bus, GstMessage *msg, gpointer data) { | |
GMainLoop *loop = (GMainLoop *) data; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <gst/gst.h> | |
// build: gcc main.c -o netradio_00 `pkg-config gstreamer-1.0 --libs --cflags` | |
int main(int argc, char *argv[]) { | |
GstElement *pipeline; | |
GstMessage *message; | |
GstBus *bus; |