[PATCH 0/7] Fix initial HDMI profile selection

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

 



This patch set fixes a case where an unavailable HDMI profile gets
selected by default, even when an available one exists too. The
underlying problem is that the alsa card doesn't manage profile
availability information at all, so all profiles have unknown
availability. These patches add some simple profile availability
management logic to module-alsa-card. Some refactoring was
required too.

BugLink: https://bugzilla.yoctoproject.org/show_bug.cgi?id=8448

Tanu Kaskinen (7):
  alsa-ucm: fix pa_device_port.profiles leak
  card: add pa_card_profile.ports
  alsa, bluetooth: fail if user-requested profile doesn't exist
  card: move profile selection after pa_card_new()
  alsa: set availability for (some) unavailable profiles
  card: remove pa_card_new_data.active_profile
  card: simplify setting pa_card.name

 src/modules/alsa/alsa-mixer.c                |   4 +-
 src/modules/alsa/alsa-ucm.c                  |   2 +-
 src/modules/alsa/module-alsa-card.c          |  37 +++++++++-
 src/modules/bluetooth/module-bluez4-device.c |  22 ++++--
 src/modules/bluetooth/module-bluez5-device.c |   7 ++
 src/modules/macosx/module-coreaudio-device.c |   1 +
 src/modules/module-card-restore.c            |  24 +++---
 src/pulsecore/card.c                         | 105 ++++++++++++++-------------
 src/pulsecore/card.h                         |  28 ++++---
 9 files changed, 148 insertions(+), 82 deletions(-)

-- 
2.6.1



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

  Powered by Linux