GNOME Bugzilla – Bug 547227
Implement GstPropertyProbe interface on pulsesink for detecting sink devices.
Last modified: 2008-08-13 12:00:35 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 sink (playback devices) which can be used with pulsesink. If the GstPropertyProbe was available for the "device" property on the pulsesink element, this would solve the problem. See the related bug #547217 for pulsesrc.
Created attachment 116313 [details] [review] Implement GstPropertyProbe 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.