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.patch37
1 files changed, 23 insertions, 14 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..63af83f7 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,14 @@
1From 1641ce8c724018365d7fa598f9a70c6492e7c271 Mon Sep 17 00:00:00 2001 1From bbfa5f555f8d2c448c9f36fbea11ea3e32dcdcc6 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
8
9MIME-Version: 1.0
10Content-Type: text/plain; charset=UTF-8
11Content-Transfer-Encoding: 8bit
5 12
6one limitation is that ALSA and pulseaudio only support 13one limitation is that ALSA and pulseaudio only support
7maximum 8 channels, but ak4458 may support 16 channels 14maximum 8 channels, but ak4458 may support 16 channels
@@ -9,17 +16,19 @@ maximum 8 channels, but ak4458 may support 16 channels
9Upstream-Status: Inappropriate [i.MX specific] 16Upstream-Status: Inappropriate [i.MX specific]
10 17
11Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> 18Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
19
12--- 20---
13 src/conf/cards/AK4458.conf | 74 +++++++++++++++++++++++++++++++++++++++++++++ 21 src/conf/cards/AK4458.conf | 74 +++++++++++++++++++++++++++++++++++++
14 src/conf/cards/Makefile.am | 3 +- 22 src/conf/cards/Makefile.am | 3 +-
15 src/conf/cards/aliases.conf | 1 + 23 src/conf/cards/aliases.conf | 1 +
16 3 files changed, 77 insertions(+), 1 deletion(-) 24 3 files changed, 77 insertions(+), 1 deletion(-)
17 create mode 100644 src/conf/cards/AK4458.conf 25 create mode 100644 src/conf/cards/AK4458.conf
18 26
19Index: alsa-lib-1.1.6/src/conf/cards/AK4458.conf 27diff --git a/src/conf/cards/AK4458.conf b/src/conf/cards/AK4458.conf
20=================================================================== 28new file mode 100644
29index 0000000..3b5b195
21--- /dev/null 30--- /dev/null
22+++ alsa-lib-1.1.6/src/conf/cards/AK4458.conf 31+++ b/src/conf/cards/AK4458.conf
23@@ -0,0 +1,74 @@ 32@@ -0,0 +1,74 @@
24+# 33+#
25+# Configuration for the AK4458 chip 34+# Configuration for the AK4458 chip
@@ -95,10 +104,10 @@ Index: alsa-lib-1.1.6/src/conf/cards/AK4458.conf
95+ } 104+ }
96+ slave.channels 8 105+ slave.channels 8
97+} 106+}
98Index: alsa-lib-1.1.6/src/conf/cards/Makefile.am 107diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am
99=================================================================== 108index fbf0697..34fa5a3 100644
100--- alsa-lib-1.1.6.orig/src/conf/cards/Makefile.am 109--- a/src/conf/cards/Makefile.am
101+++ alsa-lib-1.1.6/src/conf/cards/Makefile.am 110+++ b/src/conf/cards/Makefile.am
102@@ -60,7 +60,8 @@ cfg_files = aliases.conf \ 111@@ -60,7 +60,8 @@ cfg_files = aliases.conf \
103 VXPocket.conf \ 112 VXPocket.conf \
104 VXPocket440.conf \ 113 VXPocket440.conf \
@@ -109,13 +118,13 @@ Index: alsa-lib-1.1.6/src/conf/cards/Makefile.am
109 118
110 if BUILD_ALISP 119 if BUILD_ALISP
111 cfg_files += aliases.alisp 120 cfg_files += aliases.alisp
112Index: alsa-lib-1.1.6/src/conf/cards/aliases.conf 121diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf
113=================================================================== 122index 7a4f444..e41f89e 100644
114--- alsa-lib-1.1.6.orig/src/conf/cards/aliases.conf 123--- a/src/conf/cards/aliases.conf
115+++ alsa-lib-1.1.6/src/conf/cards/aliases.conf 124+++ b/src/conf/cards/aliases.conf
116@@ -59,6 +59,7 @@ pistachio cards.pistachio-card 125@@ -59,6 +59,7 @@ pistachio cards.pistachio-card
117 VC4-HDMI cards.vc4-hdmi 126 VC4-HDMI cards.vc4-hdmi
118 cs42888-audio cards.CS42888 127 imx-cs42888 cards.CS42888
119 imx-hdmi-soc cards.IMX-HDMI 128 imx-hdmi-soc cards.IMX-HDMI
120+ak4458-audio cards.AK4458 129+ak4458-audio cards.AK4458
121 130