[pulseaudio-discuss] [PATCH v2] Don't settle on a card profile if it doesn't have any available port

Mario Sanchez Prada mario at endlessm.com
Fri Apr 10 06:50:59 PDT 2015


Changes since v1:
 - Fixes according to David Henningsson's comments
 - Use card_new hook instead of card_put when settling on a profile
 - Make pa_alsa_availability_from_jacks() expect a pa_dynarray* for the 
   jacks. Update callers in alsa-mixer.c and module-alsa-card.c

Mario Sanchez Prada (1):
  Don't settle on a card profile if it doesn't have any available port

 src/modules/alsa/alsa-mixer.c                 | 21 +++++++++
 src/modules/alsa/alsa-util.c                  | 60 +++++++++++++++++++++++++
 src/modules/alsa/alsa-util.h                  |  2 +
 src/modules/alsa/module-alsa-card.c           | 65 ++++++++-------------------
 src/modules/module-switch-on-port-available.c | 54 ++++++++++++++++++++++
 5 files changed, 156 insertions(+), 46 deletions(-)

-- 
2.1.0



More information about the pulseaudio-discuss mailing list