After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 547227 - Implement GstPropertyProbe interface on pulsesink for detecting sink devices.
Implement GstPropertyProbe interface on pulsesink for detecting sink devices.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal enhancement
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-11 00:32 UTC by Laszlo Pandy
Modified: 2008-08-13 12:00 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Implement GstPropertyProbe for pulsesink. (3.03 KB, patch)
2008-08-11 00:33 UTC, Laszlo Pandy
committed Details | Review

Description Laszlo Pandy 2008-08-11 00:32:32 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.
Comment 1 Laszlo Pandy 2008-08-11 00:33:33 UTC
Created attachment 116313 [details] [review]
Implement GstPropertyProbe for pulsesink.
Comment 2 Sebastian Dröge (slomo) 2008-08-13 12:00:35 UTC
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.