summaryrefslogtreecommitdiffstats
path: root/ext/pulse/pulsesink.h
diff options
context:
space:
mode:
authorLaszlo Pandy <laszlok2@gmail.com>2008-08-13 12:01:01 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-08-13 12:01:01 +0000
commit397da5daf007694488c8558471a59d7c58feb2ad (patch)
treec3817a4f9914ea457e96758afe39f045921b5888 /ext/pulse/pulsesink.h
parenta12235aec73f62b3a696706ff2cac2d86a781790 (diff)
ext/pulse/: Implement GstPropertyProbe interface on pulsesink for detecting sink devices and on pulsesrc for detectin...
Original commit message from CVS: Patch by: Laszlo Pandy <laszlok2 at gmail dot com> * ext/pulse/pulsesink.c: (gst_pulsesink_interface_supported), (gst_pulsesink_implements_interface_init), (gst_pulsesink_init_interfaces), (gst_pulsesink_init), (gst_pulsesink_finalize), (gst_pulsesink_set_property), (gst_pulsesink_get_type): * ext/pulse/pulsesink.h: * ext/pulse/pulsesrc.c: (gst_pulsesrc_interface_supported), (gst_pulsesrc_init_interfaces), (gst_pulsesrc_init), (gst_pulsesrc_finalize), (gst_pulsesrc_set_property): * ext/pulse/pulsesrc.h: Implement GstPropertyProbe interface on pulsesink for detecting sink devices and on pulsesrc for detecting source devices. Fixes bugs #547227 and #547217.
Diffstat (limited to 'ext/pulse/pulsesink.h')
-rw-r--r--ext/pulse/pulsesink.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pulse/pulsesink.h b/ext/pulse/pulsesink.h
index d7a3b781..3ea57adc 100644
--- a/ext/pulse/pulsesink.h
+++ b/ext/pulse/pulsesink.h
@@ -28,6 +28,8 @@
#include <pulse/pulseaudio.h>
#include <pulse/thread-mainloop.h>
+#include "pulseprobe.h"
+
G_BEGIN_DECLS
#define GST_TYPE_PULSESINK \
@@ -57,6 +59,8 @@ struct _GstPulseSink
pa_sample_spec sample_spec;
+ GstPulseProbe *probe;
+
int operation_success;
};