[pulseaudio-discuss] [PATCH v3 0/6] Remember card's "preferred ports"

Tanu Kaskinen tanuk at iki.fi
Fri Mar 4 13:23:26 UTC 2016


Changes in v3:
  * fixed a couple of entry loading bugs in card-restore

Changes in v2:
  * moved the preferred port variables to pa_card
  * implemented preferred port persistence with card-restore
  * switch-on-port-available: update card_info->active_profile always
    in the profile changed hook callback, not only when the change is
    initiated by the user
  * added the "avoid repetitive pointer deferencing" refactoring patch

Tanu Kaskinen (6):
  switch-on-port-available: unify input/output switching policy
  switch-on-port-available: fix inverted if condition
  switch-on-port-available: avoid repetitive pointer deferencing
  card: add preferred_{input,output}_port
  card-restore: restore preferred ports
  switch-on-port-available: prefer ports that have been selected by the
    user

 src/modules/module-card-restore.c             |  68 +++++++-
 src/modules/module-switch-on-port-available.c | 240 ++++++++++++++++++++++++--
 src/pulsecore/card.c                          |  46 +++++
 src/pulsecore/card.h                          |  12 ++
 src/pulsecore/core.h                          |   1 +
 5 files changed, 352 insertions(+), 15 deletions(-)

-- 
2.7.0



More information about the pulseaudio-discuss mailing list