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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux