summaryrefslogtreecommitdiff
path: root/src/cmumble.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmumble.h')
-rw-r--r--src/cmumble.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/cmumble.h b/src/cmumble.h
index 5de3fb1..2ea1203 100644
--- a/src/cmumble.h
+++ b/src/cmumble.h
@@ -1,41 +1,28 @@
#ifndef _CMUMBLE_H_
#define _CMUMBLE_H_
-#include <gst/gst.h>
-#include <gst/app/gstappsrc.h>
-#include <gst/app/gstappsink.h>
-#include <gst/app/gstappbuffer.h>
-
#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
-#include <celt/celt.h>
-#include <celt/celt_header.h>
-
#include "mumble.pb-c.h"
#include "message.h"
#include "io.h"
#include "connection.h"
+#include "audio.h"
typedef void (*callback_t)(ProtobufCMessage *msg, struct context *);
struct context {
struct cmumble_connection con;
struct cmumble_io io;
+ struct cmumble_audio audio;
const callback_t *callbacks;
GMainLoop *loop;
uint32_t session;
gboolean authenticated;
- uint8_t celt_header_packet[sizeof(CELTHeader)];
- CELTHeader celt_header;
- CELTMode *celt_mode;
-
- GstElement *record_pipeline;
- GstAppSink *sink;
-
int64_t sequence;
GList *users;