[pulseaudio-tickets] [Bug 85369] New: Problem setting activeport on device using DBus
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Oct 23 07:24:53 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=85369
Bug ID: 85369
Summary: Problem setting activeport on device using DBus
Product: PulseAudio
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: modules
Assignee: pulseaudio-bugs at lists.freedesktop.org
Reporter: Knasher at gmail.com
QA Contact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
The function handle_set_active_port in src/modules/dbus/iface-device.c requires
the requested port to be submitted as a path of the form
/org/pulseaudio/core1/sink0/port0, which is consistent with what
handle_get_active_port returns. However inside in that function there is a
call
if (!(new_active = pa_hashmap_get(d->ports, new_active_path))) {
but the d->ports is indexed by the name of the device, not the path, so it
cannot find a matching port. As you can't pass the name of the device as an
argument, it is therefore not possible to select the port over dbus.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141023/b1849533/attachment.html>
More information about the pulseaudio-bugs
mailing list