[PATCH] Add HDMI 5.1 and 7.1 profiles to default.conf as well

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

 



Signed-off-by: Alexander E. Patrakov <patrakov at gmail.com>
---
 src/modules/alsa/mixer/profile-sets/default.conf | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Tanu Kaskinen wrote:

> Somewhat related, I also wonder why the surround mappings (both 5.1 and
> 7.1) are only in extra-hdmi.conf. My understanding is that the point of
> extra-hdmi.conf is just to offer the additional mappings for the
> subdevices 1-3, so the non-extra surround profiles should be copied to
> all other profile-set files too.

Valid point, let's add the surround profiles to default.conf

> And still one related note: it seems that 5.1 mappings are missing for
> the "extra" subdevices.

Hm. Mapping hdmi-surround-extra1 does exist, and has the correct channel-map.
What exactly is missing?

DTS-over-HDMI patch will be sent out when it becomes clear what to base it
upon (to avoid conflicts with e.g. this patch).

diff --git a/src/modules/alsa/mixer/profile-sets/default.conf b/src/modules/alsa/mixer/profile-sets/default.conf
index 83cb425..25d56ef 100644
--- a/src/modules/alsa/mixer/profile-sets/default.conf
+++ b/src/modules/alsa/mixer/profile-sets/default.conf
@@ -199,6 +199,22 @@ priority = 4
 direction = output
 paths-output = hdmi-output-0
 
+[Mapping hdmi-surround]
+description = Digital Surround 5.1 (HDMI)
+device-strings = hdmi:%f
+paths-output = hdmi-output-0
+channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
+priority = 3
+direction = output
+
+[Mapping hdmi-surround-71]
+description = Digital Surround 7.1 (HDMI)
+device-strings = hdmi:%f
+paths-output = hdmi-output-0
+channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
+priority = 2
+direction = output
+
 ; An example for defining multiple-sink profiles
 #[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
 #description = Foobar
-- 
2.0.0



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

  Powered by Linux