diff options
Diffstat (limited to 'audio/gsta2dpsink.h')
| -rw-r--r-- | audio/gsta2dpsink.h | 29 | 
1 files changed, 13 insertions, 16 deletions
diff --git a/audio/gsta2dpsink.h b/audio/gsta2dpsink.h index f5b9b69b..4bf9d603 100644 --- a/audio/gsta2dpsink.h +++ b/audio/gsta2dpsink.h @@ -22,7 +22,8 @@   */  #include <gst/gst.h> -#include <gst/base/gstbasesink.h> +#include <gst/rtp/gstbasertppayload.h> +#include "gsta2dpsendersink.h"  G_BEGIN_DECLS @@ -40,31 +41,27 @@ G_BEGIN_DECLS  typedef struct _GstA2dpSink GstA2dpSink;  typedef struct _GstA2dpSinkClass GstA2dpSinkClass; -struct bluetooth_data; -  struct _GstA2dpSink { -	GstBaseSink sink; - -	gchar *device; -	GIOChannel *stream; +	GstBin bin; -	struct bluetooth_data *data; -	GIOChannel *server; +	GstBaseRTPPayload *rtp; +	GstA2dpSenderSink *sink; +	GstElement *capsfilter; -	/* stream connection data */ -	GstCaps *stream_caps; - -	GstCaps *dev_caps; +	gchar *device; -	GMutex *sink_lock; +	GstGhostPad *ghostpad; +	GstPadSetCapsFunction ghostpad_setcapsfunc; +	GstPadEventFunction ghostpad_eventfunc; -	guint watch_id; +	GstEvent *newseg_event;  };  struct _GstA2dpSinkClass { -	GstBaseSinkClass parent_class; +	GstBinClass parent_class;  };  GType gst_a2dp_sink_get_type(void); +gboolean gst_a2dp_sink_plugin_init (GstPlugin * plugin);  G_END_DECLS  | 
