[pulseaudio-discuss] [PATCH 0/3] Improve default device policy

Tanu Kaskinen tanuk at iki.fi
Thu Sep 8 11:06:26 UTC 2016


These patches modify the default sink/source selection policy so that
unavailable devices are avoided, and the active port of a device affects
the priority of the device. This should partially fix bug 93006[1].

[1] https://bugs.freedesktop.org/show_bug.cgi?id=93006

Tanu Kaskinen (3):
  refactor default sink/source handling
  core, device-port: check availability when choosing the default device
  sink, source: copy priority from active port

 src/modules/dbus/iface-core.c               |   8 +-
 src/modules/dbus/iface-sample.c             |  10 +-
 src/modules/module-default-device-restore.c |  14 +--
 src/modules/module-intended-roles.c         |  37 +++---
 src/modules/module-rescue-streams.c         |  20 ++--
 src/modules/module-switch-on-connect.c      |  30 ++---
 src/pulsecore/cli-command.c                 |  20 ++--
 src/pulsecore/cli-text.c                    |  12 +-
 src/pulsecore/core.c                        | 171 ++++++++++++++++++++++++++++
 src/pulsecore/core.h                        |  25 +++-
 src/pulsecore/device-port.c                 |   8 ++
 src/pulsecore/namereg.c                     | 115 +------------------
 src/pulsecore/namereg.h                     |   6 -
 src/pulsecore/protocol-native.c             |  19 ++--
 src/pulsecore/sink.c                        |  25 +++-
 src/pulsecore/source.c                      |  26 ++++-
 16 files changed, 327 insertions(+), 219 deletions(-)

-- 
2.9.3



More information about the pulseaudio-discuss mailing list