diff options
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.patch | 37 |
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 @@ | |||
1 | From 1641ce8c724018365d7fa598f9a70c6492e7c271 Mon Sep 17 00:00:00 2001 | 1 | From bbfa5f555f8d2c448c9f36fbea11ea3e32dcdcc6 Mon Sep 17 00:00:00 2001 |
2 | From: Shengjiu Wang <shengjiu.wang@nxp.com> | 2 | From: Shengjiu Wang <shengjiu.wang@nxp.com> |
3 | Date: Wed, 31 Jan 2018 15:06:53 +0800 | 3 | Date: Wed, 31 Jan 2018 15:06:53 +0800 |
4 | Subject: [PATCH] add ak4458 conf for multichannel support | 4 | Subject: [PATCH] add ak4458 conf for multichannel support |
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | MIME-Version: 1.0 | ||
10 | Content-Type: text/plain; charset=UTF-8 | ||
11 | Content-Transfer-Encoding: 8bit | ||
5 | 12 | ||
6 | one limitation is that ALSA and pulseaudio only support | 13 | one limitation is that ALSA and pulseaudio only support |
7 | maximum 8 channels, but ak4458 may support 16 channels | 14 | maximum 8 channels, but ak4458 may support 16 channels |
@@ -9,17 +16,19 @@ maximum 8 channels, but ak4458 may support 16 channels | |||
9 | Upstream-Status: Inappropriate [i.MX specific] | 16 | Upstream-Status: Inappropriate [i.MX specific] |
10 | 17 | ||
11 | Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> | 18 | Signed-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 | ||
19 | Index: alsa-lib-1.1.6/src/conf/cards/AK4458.conf | 27 | diff --git a/src/conf/cards/AK4458.conf b/src/conf/cards/AK4458.conf |
20 | =================================================================== | 28 | new file mode 100644 |
29 | index 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 | +} |
98 | Index: alsa-lib-1.1.6/src/conf/cards/Makefile.am | 107 | diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am |
99 | =================================================================== | 108 | index 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 |
112 | Index: alsa-lib-1.1.6/src/conf/cards/aliases.conf | 121 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf |
113 | =================================================================== | 122 | index 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 | ||