summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/alsa/alsa-lib/0005-add-ak4458-conf-for-multichannel-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/alsa/alsa-lib/0005-add-ak4458-conf-for-multichannel-support.patch')
-rw-r--r--recipes-multimedia/alsa/alsa-lib/0005-add-ak4458-conf-for-multichannel-support.patch35
1 files changed, 20 insertions, 15 deletions
diff --git a/recipes-multimedia/alsa/alsa-lib/0005-add-ak4458-conf-for-multichannel-support.patch b/recipes-multimedia/alsa/alsa-lib/0005-add-ak4458-conf-for-multichannel-support.patch
index a07f60d6..b25aa910 100644
--- a/recipes-multimedia/alsa/alsa-lib/0005-add-ak4458-conf-for-multichannel-support.patch
+++ b/recipes-multimedia/alsa/alsa-lib/0005-add-ak4458-conf-for-multichannel-support.patch
@@ -1,7 +1,10 @@
1From 1641ce8c724018365d7fa598f9a70c6492e7c271 Mon Sep 17 00:00:00 2001 1From d78b7e2b964c9713c2e9889f4ec85922528ba971 Mon Sep 17 00:00:00 2001
2From: Shengjiu Wang <shengjiu.wang@nxp.com> 2From: Shengjiu Wang <shengjiu.wang@nxp.com>
3Date: Wed, 31 Jan 2018 15:06:53 +0800 3Date: Wed, 31 Jan 2018 15:06:53 +0800
4Subject: [PATCH] add ak4458 conf for multichannel support 4Subject: [PATCH] add ak4458 conf for multichannel support
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
5 8
6one limitation is that ALSA and pulseaudio only support 9one limitation is that ALSA and pulseaudio only support
7maximum 8 channels, but ak4458 may support 16 channels 10maximum 8 channels, but ak4458 may support 16 channels
@@ -9,17 +12,19 @@ maximum 8 channels, but ak4458 may support 16 channels
9Upstream-Status: Inappropriate [i.MX specific] 12Upstream-Status: Inappropriate [i.MX specific]
10 13
11Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> 14Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
15
12--- 16---
13 src/conf/cards/AK4458.conf | 74 +++++++++++++++++++++++++++++++++++++++++++++ 17 src/conf/cards/AK4458.conf | 74 +++++++++++++++++++++++++++++++++++++
14 src/conf/cards/Makefile.am | 3 +- 18 src/conf/cards/Makefile.am | 3 +-
15 src/conf/cards/aliases.conf | 1 + 19 src/conf/cards/aliases.conf | 1 +
16 3 files changed, 77 insertions(+), 1 deletion(-) 20 3 files changed, 77 insertions(+), 1 deletion(-)
17 create mode 100644 src/conf/cards/AK4458.conf 21 create mode 100644 src/conf/cards/AK4458.conf
18 22
19Index: alsa-lib-1.1.6/src/conf/cards/AK4458.conf 23diff --git a/src/conf/cards/AK4458.conf b/src/conf/cards/AK4458.conf
20=================================================================== 24new file mode 100644
25index 0000000..3b5b195
21--- /dev/null 26--- /dev/null
22+++ alsa-lib-1.1.6/src/conf/cards/AK4458.conf 27+++ b/src/conf/cards/AK4458.conf
23@@ -0,0 +1,74 @@ 28@@ -0,0 +1,74 @@
24+# 29+#
25+# Configuration for the AK4458 chip 30+# Configuration for the AK4458 chip
@@ -95,10 +100,10 @@ Index: alsa-lib-1.1.6/src/conf/cards/AK4458.conf
95+ } 100+ }
96+ slave.channels 8 101+ slave.channels 8
97+} 102+}
98Index: alsa-lib-1.1.6/src/conf/cards/Makefile.am 103diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am
99=================================================================== 104index fbf0697..34fa5a3 100644
100--- alsa-lib-1.1.6.orig/src/conf/cards/Makefile.am 105--- a/src/conf/cards/Makefile.am
101+++ alsa-lib-1.1.6/src/conf/cards/Makefile.am 106+++ b/src/conf/cards/Makefile.am
102@@ -60,7 +60,8 @@ cfg_files = aliases.conf \ 107@@ -60,7 +60,8 @@ cfg_files = aliases.conf \
103 VXPocket.conf \ 108 VXPocket.conf \
104 VXPocket440.conf \ 109 VXPocket440.conf \
@@ -109,15 +114,15 @@ Index: alsa-lib-1.1.6/src/conf/cards/Makefile.am
109 114
110 if BUILD_ALISP 115 if BUILD_ALISP
111 cfg_files += aliases.alisp 116 cfg_files += aliases.alisp
112Index: alsa-lib-1.1.6/src/conf/cards/aliases.conf 117diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf
113=================================================================== 118index a9e6d76..2f0a22a 100644
114--- alsa-lib-1.1.6.orig/src/conf/cards/aliases.conf 119--- a/src/conf/cards/aliases.conf
115+++ alsa-lib-1.1.6/src/conf/cards/aliases.conf 120+++ b/src/conf/cards/aliases.conf
116@@ -59,6 +59,7 @@ pistachio cards.pistachio-card 121@@ -59,6 +59,7 @@ pistachio cards.pistachio-card
117 VC4-HDMI cards.vc4-hdmi 122 VC4-HDMI cards.vc4-hdmi
118 cs42888-audio cards.CS42888 123 imx-cs42888 cards.CS42888
119 imx-hdmi-soc cards.IMX-HDMI 124 imx-hdmi-soc cards.IMX-HDMI
120+ak4458-audio cards.AK4458 125+ak4458-audio cards.AK4458
121 126
127 <confdir:ctl/default.conf>
122 <confdir:pcm/default.conf> 128 <confdir:pcm/default.conf>
123 <confdir:pcm/dmix.conf>