From 1a89388f97e4c33617c6c4dcf9375494b5b123f0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 28 Jul 2009 15:53:57 +0200 Subject: pulsesrc; cleanups, report real latency Add some more debug info Avoid some type casts Report the real latency to the application. --- ext/pulse/pulsesrc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/pulse/pulsesrc.h') diff --git a/ext/pulse/pulsesrc.h b/ext/pulse/pulsesrc.h index 8c4a03b0..15d35f72 100644 --- a/ext/pulse/pulsesrc.h +++ b/ext/pulse/pulsesrc.h @@ -43,6 +43,8 @@ G_BEGIN_DECLS (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PULSESRC)) #define GST_IS_PULSESRC_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PULSESRC)) +#define GST_PULSESRC_CAST(obj) \ + ((GstPulseSrc *)(obj)) typedef struct _GstPulseSrc GstPulseSrc; typedef struct _GstPulseSrcClass GstPulseSrcClass; -- cgit