summaryrefslogtreecommitdiffstats
path: root/audio/gsta2dpsink.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-01-23 19:17:33 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-01-23 19:17:33 +0000
commit1f9f22f64d5e7c66c6e2d20452f6e5918d0020fb (patch)
tree3400e5b2a3e4c3fa482de52843ca5cf6c38aee65 /audio/gsta2dpsink.h
parente8e68d294cd662970de6082473e30ecd6ee8dd61 (diff)
Fix use of gstreamer plugin with rhythmbox and banshee and rtp timestamps.
Diffstat (limited to 'audio/gsta2dpsink.h')
-rw-r--r--audio/gsta2dpsink.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/gsta2dpsink.h b/audio/gsta2dpsink.h
index 26da4c47..d79307b2 100644
--- a/audio/gsta2dpsink.h
+++ b/audio/gsta2dpsink.h
@@ -25,6 +25,9 @@
#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 \
@@ -47,6 +50,7 @@ struct _GstA2dpSink {
GstBaseRTPPayload *rtp;
GstAvdtpSink *sink;
GstElement *capsfilter;
+ GstElement *fakesink;
gchar *device;
gboolean sink_is_in_bin;
@@ -59,6 +63,8 @@ struct _GstA2dpSink {
/* Store the tags received before the a2dpsender sink is created
* when it is created we forward this to it */
GstTagList *taglist;
+
+ GMutex *cb_mutex;
};
struct _GstA2dpSinkClass {
@@ -68,4 +74,9 @@ struct _GstA2dpSinkClass {
GType gst_a2dp_sink_get_type(void);
gboolean gst_a2dp_sink_plugin_init (GstPlugin * plugin);
+GstCaps *gst_a2dp_sink_get_device_caps(GstA2dpSink *self);
+
G_END_DECLS
+
+#endif
+