summaryrefslogtreecommitdiffstats
path: root/ext/pulse/pulsesrc.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-07-28 15:53:57 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-07-28 18:34:15 +0200
commit1a89388f97e4c33617c6c4dcf9375494b5b123f0 (patch)
treec8e6c4247d01e0653fbdc7c388aaa23ecf846b40 /ext/pulse/pulsesrc.h
parent7a89fb046879bd76da73ef4da96ca1d692e6606a (diff)
pulsesrc; cleanups, report real latency
Add some more debug info Avoid some type casts Report the real latency to the application.
Diffstat (limited to 'ext/pulse/pulsesrc.h')
-rw-r--r--ext/pulse/pulsesrc.h2
1 files changed, 2 insertions, 0 deletions
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;