GNOME Bugzilla – Bug 547217
Implement GstPropertyProbe interface on pulsesrc for detecting source devices.
Last modified: 2008-08-13 12:00:46 UTC
pulsemixer currently supports GstPropertyProbe, and can be probed for the list of all available PulseAudio devices. However there is no way to restrict the list to source (capture device) which can be used with pulsesrc. If the GstPropertyProbe was available for the "device" property on the pulsesrc element, this would solve the problem.
Created attachment 116306 [details] [review] Implement GstPropertyProbe for pulsesrc.
Created attachment 116312 [details] [review] Implement GstPropertyProbe for pulsesrc. Change reference to wrong string (referring to device instead of server).
See the related bug #547227 for pulsesink.
2008-08-13 Sebastian Dröge <sebastian.droege@collabora.co.uk> 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.