summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-23 05:25:50 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-23 05:25:50 +0100
commit595a975c95033e68e23727d96425fb92adf63bc1 (patch)
treeb31c8c9af8cfd0c0d441465c06cdbda977db3f4f /audio
parentc2f08ad646de6cb18a456b6389c842a22bd84022 (diff)
First attempt in fixing compiler warnings (still needs cleanup)
Diffstat (limited to 'audio')
-rw-r--r--audio/gsta2dpsink.c2
-rw-r--r--audio/gsta2dpsink.h9
-rw-r--r--audio/gstavdtpsink.h2
-rw-r--r--audio/gstbluetooth.c4
-rw-r--r--audio/gstrtpsbcpay.h2
-rw-r--r--audio/gstsbcdec.c1
-rw-r--r--audio/gstsbcdec.h3
-rw-r--r--audio/gstsbcenc.c2
-rw-r--r--audio/gstsbcenc.h2
-rw-r--r--audio/gstsbcparse.c2
-rw-r--r--audio/gstsbcparse.h2
-rw-r--r--audio/gstsbcutil.h2
12 files changed, 17 insertions, 16 deletions
diff --git a/audio/gsta2dpsink.c b/audio/gsta2dpsink.c
index 22625a65..51425005 100644
--- a/audio/gsta2dpsink.c
+++ b/audio/gsta2dpsink.c
@@ -30,6 +30,8 @@
#include "gsta2dpsink.h"
+GType gst_avdtp_sink_get_type(void);
+
GST_DEBUG_CATEGORY_STATIC(gst_a2dp_sink_debug);
#define GST_CAT_DEFAULT gst_a2dp_sink_debug
diff --git a/audio/gsta2dpsink.h b/audio/gsta2dpsink.h
index 13409232..8d11b28d 100644
--- a/audio/gsta2dpsink.h
+++ b/audio/gsta2dpsink.h
@@ -21,13 +21,13 @@
*
*/
+#ifndef __GST_A2DP_SINK_H__
+#define __GST_A2DP_SINK_H__
+
#include <gst/gst.h>
#include <gst/rtp/gstbasertppayload.h>
#include "gstavdtpsink.h"
-#ifndef __GST_A2DP_SINK_H__
-#define __GST_A2DP_SINK_H__
-
G_BEGIN_DECLS
#define GST_TYPE_A2DP_SINK \
@@ -72,7 +72,8 @@ struct _GstA2dpSinkClass {
GstBinClass parent_class;
};
-GType gst_a2dp_sink_get_type(void);
+//GType gst_a2dp_sink_get_type(void);
+
gboolean gst_a2dp_sink_plugin_init (GstPlugin * plugin);
GstCaps *gst_a2dp_sink_get_device_caps(GstA2dpSink *self);
diff --git a/audio/gstavdtpsink.h b/audio/gstavdtpsink.h
index 5ebc0fee..000e6e3a 100644
--- a/audio/gstavdtpsink.h
+++ b/audio/gstavdtpsink.h
@@ -75,7 +75,7 @@ struct _GstAvdtpSinkClass {
GstBaseSinkClass parent_class;
};
-GType gst_avdtp_sink_get_type(void);
+//GType gst_avdtp_sink_get_type(void);
GstCaps *gst_avdtp_sink_get_device_caps(GstAvdtpSink *sink);
gboolean gst_avdtp_sink_set_device_caps(GstAvdtpSink *sink,
diff --git a/audio/gstbluetooth.c b/audio/gstbluetooth.c
index ffc69768..f7d8db6c 100644
--- a/audio/gstbluetooth.c
+++ b/audio/gstbluetooth.c
@@ -25,10 +25,10 @@
#include <config.h>
#endif
-#include <gst/gst.h>
-
#include <string.h>
+#include <gst/gst.h>
+
#include "gstsbcutil.h"
#include <sbc.h>
diff --git a/audio/gstrtpsbcpay.h b/audio/gstrtpsbcpay.h
index e56fef35..66236113 100644
--- a/audio/gstrtpsbcpay.h
+++ b/audio/gstrtpsbcpay.h
@@ -59,7 +59,7 @@ struct _GstRtpSBCPayClass {
GstBaseRTPPayloadClass parent_class;
};
-GType gst_rtp_sbc_pay_get_type(void);
+//GType gst_rtp_sbc_pay_get_type(void);
gboolean gst_rtp_sbc_pay_plugin_init (GstPlugin * plugin);
diff --git a/audio/gstsbcdec.c b/audio/gstsbcdec.c
index a53d93c3..1c7cb37f 100644
--- a/audio/gstsbcdec.c
+++ b/audio/gstsbcdec.c
@@ -27,6 +27,7 @@
#include <string.h>
+#include "gstsbcutil.h"
#include "gstsbcdec.h"
GST_DEBUG_CATEGORY_STATIC(sbc_dec_debug);
diff --git a/audio/gstsbcdec.h b/audio/gstsbcdec.h
index df687933..3fa7cd39 100644
--- a/audio/gstsbcdec.h
+++ b/audio/gstsbcdec.h
@@ -24,7 +24,6 @@
#include <gst/gst.h>
#include "sbc.h"
-#include "gstsbcutil.h"
G_BEGIN_DECLS
@@ -60,7 +59,7 @@ struct _GstSbcDecClass {
GstElementClass parent_class;
};
-GType gst_sbc_dec_get_type(void);
+//GType gst_sbc_dec_get_type(void);
gboolean gst_sbc_dec_plugin_init(GstPlugin *plugin);
diff --git a/audio/gstsbcenc.c b/audio/gstsbcenc.c
index 1a5daaa1..a45d7b0d 100644
--- a/audio/gstsbcenc.c
+++ b/audio/gstsbcenc.c
@@ -27,8 +27,8 @@
#include <string.h>
-#include "gstsbcenc.h"
#include "gstsbcutil.h"
+#include "gstsbcenc.h"
#define SBC_ENC_DEFAULT_MODE SBC_MODE_AUTO
#define SBC_ENC_DEFAULT_BLOCKS 0
diff --git a/audio/gstsbcenc.h b/audio/gstsbcenc.h
index 17e89549..0038f899 100644
--- a/audio/gstsbcenc.h
+++ b/audio/gstsbcenc.h
@@ -68,7 +68,7 @@ struct _GstSbcEncClass {
GstElementClass parent_class;
};
-GType gst_sbc_enc_get_type(void);
+//GType gst_sbc_enc_get_type(void);
gboolean gst_sbc_enc_plugin_init(GstPlugin *plugin);
diff --git a/audio/gstsbcparse.c b/audio/gstsbcparse.c
index 72d36ce7..366641ab 100644
--- a/audio/gstsbcparse.c
+++ b/audio/gstsbcparse.c
@@ -27,8 +27,8 @@
#include <string.h>
-#include "gstsbcparse.h"
#include "gstsbcutil.h"
+#include "gstsbcparse.h"
GST_DEBUG_CATEGORY_STATIC(sbc_parse_debug);
#define GST_CAT_DEFAULT sbc_parse_debug
diff --git a/audio/gstsbcparse.h b/audio/gstsbcparse.h
index eceeeea1..7a3f8266 100644
--- a/audio/gstsbcparse.h
+++ b/audio/gstsbcparse.h
@@ -62,7 +62,7 @@ struct _GstSbcParseClass {
GstElementClass parent_class;
};
-GType gst_sbc_parse_get_type(void);
+//GType gst_sbc_parse_get_type(void);
gboolean gst_sbc_parse_plugin_init(GstPlugin *plugin);
diff --git a/audio/gstsbcutil.h b/audio/gstsbcutil.h
index a3cf937c..1f5d3270 100644
--- a/audio/gstsbcutil.h
+++ b/audio/gstsbcutil.h
@@ -39,8 +39,6 @@ gint gst_sbc_select_subbands_from_list(const GValue *value);
gint gst_sbc_select_bitpool_from_range(const GValue *value);
-gint gst_sbc_select_bitpool_from_range(const GValue *value);
-
const gchar *gst_sbc_get_allocation_from_list(const GValue *value);
const gchar *gst_sbc_get_mode_from_list(const GValue *value, gint channels);