diff options
Diffstat (limited to 'recipes-multimedia/alsa')
7 files changed, 165 insertions, 168 deletions
diff --git a/recipes-multimedia/alsa/alsa-lib/0001-add-conf-for-multichannel-support-in-imx.patch b/recipes-multimedia/alsa/alsa-lib/0001-add-conf-for-multichannel-support-in-imx.patch index 7d20c6782..7ae8b8fef 100644 --- a/recipes-multimedia/alsa/alsa-lib/0001-add-conf-for-multichannel-support-in-imx.patch +++ b/recipes-multimedia/alsa/alsa-lib/0001-add-conf-for-multichannel-support-in-imx.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 49a7eac8e02c33cae8a168e6d22d9ff8aaf86d44 Mon Sep 17 00:00:00 2001 | 1 | From 3fa81ebaf8bac6b167776888ae26c6c140d8aebc Mon Sep 17 00:00:00 2001 |
2 | From: Shengjiu Wang <b02247@freescale.com> | 2 | From: Shengjiu Wang <b02247@freescale.com> |
3 | Date: Thu, 5 Jun 2014 17:37:47 +0800 | 3 | Date: Thu, 5 Jun 2014 17:37:47 +0800 |
4 | Subject: [PATCH] add conf for multichannel support in imx | 4 | Subject: [PATCH] add conf for multichannel support in imx |
@@ -6,19 +6,18 @@ Subject: [PATCH] add conf for multichannel support in imx | |||
6 | Upstream-Status: Inappropriate [platform specific] | 6 | Upstream-Status: Inappropriate [platform specific] |
7 | 7 | ||
8 | Signed-off-by: Shengjiu Wang <b02247@freescale.com> | 8 | Signed-off-by: Shengjiu Wang <b02247@freescale.com> |
9 | |||
10 | --- | 9 | --- |
11 | src/conf/cards/CS42888.conf | 94 ++++++++++++++++++++++++++++++++++++ | 10 | src/conf/cards/CS42888.conf | 94 ++++++++++++++++++++++++++++++++++++ |
12 | src/conf/cards/IMX-HDMI.conf | 67 +++++++++++++++++++++++++ | 11 | src/conf/cards/IMX-HDMI.conf | 67 +++++++++++++++++++++++++ |
13 | src/conf/cards/Makefile.am | 4 +- | 12 | src/conf/cards/Makefile.am | 2 + |
14 | src/conf/cards/aliases.conf | 2 + | 13 | src/conf/cards/aliases.conf | 2 + |
15 | 4 files changed, 166 insertions(+), 1 deletion(-) | 14 | 4 files changed, 165 insertions(+) |
16 | create mode 100644 src/conf/cards/CS42888.conf | 15 | create mode 100644 src/conf/cards/CS42888.conf |
17 | create mode 100644 src/conf/cards/IMX-HDMI.conf | 16 | create mode 100644 src/conf/cards/IMX-HDMI.conf |
18 | 17 | ||
19 | diff --git a/src/conf/cards/CS42888.conf b/src/conf/cards/CS42888.conf | 18 | diff --git a/src/conf/cards/CS42888.conf b/src/conf/cards/CS42888.conf |
20 | new file mode 100644 | 19 | new file mode 100644 |
21 | index 0000000..671a284 | 20 | index 000000000000..671a2845894b |
22 | --- /dev/null | 21 | --- /dev/null |
23 | +++ b/src/conf/cards/CS42888.conf | 22 | +++ b/src/conf/cards/CS42888.conf |
24 | @@ -0,0 +1,94 @@ | 23 | @@ -0,0 +1,94 @@ |
@@ -118,7 +117,7 @@ index 0000000..671a284 | |||
118 | +# vim: ft=alsaconf | 117 | +# vim: ft=alsaconf |
119 | diff --git a/src/conf/cards/IMX-HDMI.conf b/src/conf/cards/IMX-HDMI.conf | 118 | diff --git a/src/conf/cards/IMX-HDMI.conf b/src/conf/cards/IMX-HDMI.conf |
120 | new file mode 100644 | 119 | new file mode 100644 |
121 | index 0000000..a51509e | 120 | index 000000000000..a51509e8ad5a |
122 | --- /dev/null | 121 | --- /dev/null |
123 | +++ b/src/conf/cards/IMX-HDMI.conf | 122 | +++ b/src/conf/cards/IMX-HDMI.conf |
124 | @@ -0,0 +1,67 @@ | 123 | @@ -0,0 +1,67 @@ |
@@ -190,22 +189,20 @@ index 0000000..a51509e | |||
190 | + | 189 | + |
191 | +# vim: ft=alsaconf | 190 | +# vim: ft=alsaconf |
192 | diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am | 191 | diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am |
193 | index 00999f0..fbf0697 100644 | 192 | index f387cf4197da..cbd2cd04227d 100644 |
194 | --- a/src/conf/cards/Makefile.am | 193 | --- a/src/conf/cards/Makefile.am |
195 | +++ b/src/conf/cards/Makefile.am | 194 | +++ b/src/conf/cards/Makefile.am |
196 | @@ -58,7 +58,9 @@ cfg_files = aliases.conf \ | 195 | @@ -1,6 +1,8 @@ |
197 | VIA8237.conf \ | 196 | alsaconfigdir = @ALSA_CONFIG_DIR@ |
198 | VX222.conf \ | 197 | alsadir = $(alsaconfigdir)/cards |
199 | VXPocket.conf \ | 198 | cfg_files = aliases.conf \ |
200 | - VXPocket440.conf | ||
201 | + VXPocket440.conf \ | ||
202 | + CS42888.conf \ | 199 | + CS42888.conf \ |
203 | + IMX-HDMI.conf | 200 | + IMX-HDMI.conf \ |
204 | 201 | AACI.conf \ | |
205 | if BUILD_ALISP | 202 | ATIIXP.conf \ |
206 | cfg_files += aliases.alisp | 203 | ATIIXP-SPDMA.conf \ |
207 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf | 204 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf |
208 | index 7e352f7..a9e6d76 100644 | 205 | index a54824ae636b..0aa874d7434f 100644 |
209 | --- a/src/conf/cards/aliases.conf | 206 | --- a/src/conf/cards/aliases.conf |
210 | +++ b/src/conf/cards/aliases.conf | 207 | +++ b/src/conf/cards/aliases.conf |
211 | @@ -57,6 +57,8 @@ CMI8786 cards.CMI8788 | 208 | @@ -57,6 +57,8 @@ CMI8786 cards.CMI8788 |
@@ -217,3 +214,6 @@ index 7e352f7..a9e6d76 100644 | |||
217 | 214 | ||
218 | <confdir:ctl/default.conf> | 215 | <confdir:ctl/default.conf> |
219 | <confdir:pcm/default.conf> | 216 | <confdir:pcm/default.conf> |
217 | -- | ||
218 | 2.42.0 | ||
219 | |||
diff --git a/recipes-multimedia/alsa/alsa-lib/0001-pcm-rate-fix-the-crash-in-snd_pcm_rate_may_wait_for_.patch b/recipes-multimedia/alsa/alsa-lib/0001-pcm-rate-fix-the-crash-in-snd_pcm_rate_may_wait_for_.patch index 5ec0d2e99..193d507eb 100644 --- a/recipes-multimedia/alsa/alsa-lib/0001-pcm-rate-fix-the-crash-in-snd_pcm_rate_may_wait_for_.patch +++ b/recipes-multimedia/alsa/alsa-lib/0001-pcm-rate-fix-the-crash-in-snd_pcm_rate_may_wait_for_.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From aa4f56c3c952269c36464cc0da9db5a1381648fa Mon Sep 17 00:00:00 2001 | 1 | From 3950e1ae36ca53a67b7248137e6033e7e99f79a3 Mon Sep 17 00:00:00 2001 |
2 | From: Jaroslav Kysela <perex@perex.cz> | 2 | From: Jaroslav Kysela <perex@perex.cz> |
3 | Date: Wed, 9 Nov 2022 08:11:42 +0100 | 3 | Date: Wed, 9 Nov 2022 08:11:42 +0100 |
4 | Subject: [PATCH] pcm: rate - fix the crash in | 4 | Subject: [PATCH] pcm: rate - fix the crash in |
@@ -24,10 +24,10 @@ Signed-off-by: Jaroslav Kysela <perex@perex.cz> | |||
24 | 1 file changed, 1 insertion(+), 1 deletion(-) | 24 | 1 file changed, 1 insertion(+), 1 deletion(-) |
25 | 25 | ||
26 | diff --git a/src/pcm/pcm_plugin.c b/src/pcm/pcm_plugin.c | 26 | diff --git a/src/pcm/pcm_plugin.c b/src/pcm/pcm_plugin.c |
27 | index 6bb90b8b..ec64604c 100644 | 27 | index 9d7e233e8437..d58789eca73b 100644 |
28 | --- a/src/pcm/pcm_plugin.c | 28 | --- a/src/pcm/pcm_plugin.c |
29 | +++ b/src/pcm/pcm_plugin.c | 29 | +++ b/src/pcm/pcm_plugin.c |
30 | @@ -622,7 +622,7 @@ int snd_pcm_plugin_may_wait_for_avail_min_conv( | 30 | @@ -626,7 +626,7 @@ int snd_pcm_plugin_may_wait_for_avail_min_conv( |
31 | * This code is also used by extplug, but extplug does not allow to alter the sampling rate. | 31 | * This code is also used by extplug, but extplug does not allow to alter the sampling rate. |
32 | */ | 32 | */ |
33 | if (conv) | 33 | if (conv) |
@@ -37,5 +37,5 @@ index 6bb90b8b..ec64604c 100644 | |||
37 | if (slave->avail_min != needed_slave_avail_min) { | 37 | if (slave->avail_min != needed_slave_avail_min) { |
38 | snd_pcm_sw_params_t *swparams; | 38 | snd_pcm_sw_params_t *swparams; |
39 | -- | 39 | -- |
40 | 2.34.1 | 40 | 2.42.0 |
41 | 41 | ||
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 b25aa910e..51e199821 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,4 +1,4 @@ | |||
1 | From d78b7e2b964c9713c2e9889f4ec85922528ba971 Mon Sep 17 00:00:00 2001 | 1 | From 92d2b7d91bc1ec4068ee9371753bb24ad1108827 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 |
@@ -12,17 +12,16 @@ maximum 8 channels, but ak4458 may support 16 channels | |||
12 | Upstream-Status: Inappropriate [i.MX specific] | 12 | Upstream-Status: Inappropriate [i.MX specific] |
13 | 13 | ||
14 | Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> | 14 | Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> |
15 | |||
16 | --- | 15 | --- |
17 | src/conf/cards/AK4458.conf | 74 +++++++++++++++++++++++++++++++++++++ | 16 | src/conf/cards/AK4458.conf | 74 +++++++++++++++++++++++++++++++++++++ |
18 | src/conf/cards/Makefile.am | 3 +- | 17 | src/conf/cards/Makefile.am | 1 + |
19 | src/conf/cards/aliases.conf | 1 + | 18 | src/conf/cards/aliases.conf | 1 + |
20 | 3 files changed, 77 insertions(+), 1 deletion(-) | 19 | 3 files changed, 76 insertions(+) |
21 | create mode 100644 src/conf/cards/AK4458.conf | 20 | create mode 100644 src/conf/cards/AK4458.conf |
22 | 21 | ||
23 | diff --git a/src/conf/cards/AK4458.conf b/src/conf/cards/AK4458.conf | 22 | diff --git a/src/conf/cards/AK4458.conf b/src/conf/cards/AK4458.conf |
24 | new file mode 100644 | 23 | new file mode 100644 |
25 | index 0000000..3b5b195 | 24 | index 000000000000..3b5b195f2ca0 |
26 | --- /dev/null | 25 | --- /dev/null |
27 | +++ b/src/conf/cards/AK4458.conf | 26 | +++ b/src/conf/cards/AK4458.conf |
28 | @@ -0,0 +1,74 @@ | 27 | @@ -0,0 +1,74 @@ |
@@ -101,21 +100,19 @@ index 0000000..3b5b195 | |||
101 | + slave.channels 8 | 100 | + slave.channels 8 |
102 | +} | 101 | +} |
103 | diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am | 102 | diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am |
104 | index fbf0697..34fa5a3 100644 | 103 | index cbd2cd04227d..3c29bd65d341 100644 |
105 | --- a/src/conf/cards/Makefile.am | 104 | --- a/src/conf/cards/Makefile.am |
106 | +++ b/src/conf/cards/Makefile.am | 105 | +++ b/src/conf/cards/Makefile.am |
107 | @@ -60,7 +60,8 @@ cfg_files = aliases.conf \ | 106 | @@ -3,6 +3,7 @@ alsadir = $(alsaconfigdir)/cards |
108 | VXPocket.conf \ | 107 | cfg_files = aliases.conf \ |
109 | VXPocket440.conf \ | ||
110 | CS42888.conf \ | 108 | CS42888.conf \ |
111 | - IMX-HDMI.conf | 109 | IMX-HDMI.conf \ |
112 | + IMX-HDMI.conf \ | 110 | + AK4458.conf \ |
113 | + AK4458.conf | 111 | AACI.conf \ |
114 | 112 | ATIIXP.conf \ | |
115 | if BUILD_ALISP | 113 | ATIIXP-SPDMA.conf \ |
116 | cfg_files += aliases.alisp | ||
117 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf | 114 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf |
118 | index a9e6d76..2f0a22a 100644 | 115 | index 0aa874d7434f..dda71d99916e 100644 |
119 | --- a/src/conf/cards/aliases.conf | 116 | --- a/src/conf/cards/aliases.conf |
120 | +++ b/src/conf/cards/aliases.conf | 117 | +++ b/src/conf/cards/aliases.conf |
121 | @@ -59,6 +59,7 @@ pistachio cards.pistachio-card | 118 | @@ -59,6 +59,7 @@ pistachio cards.pistachio-card |
@@ -126,3 +123,6 @@ index a9e6d76..2f0a22a 100644 | |||
126 | 123 | ||
127 | <confdir:ctl/default.conf> | 124 | <confdir:ctl/default.conf> |
128 | <confdir:pcm/default.conf> | 125 | <confdir:pcm/default.conf> |
126 | -- | ||
127 | 2.42.0 | ||
128 | |||
diff --git a/recipes-multimedia/alsa/alsa-lib/0006-add-conf-for-iMX-XCVR-sound-card.patch b/recipes-multimedia/alsa/alsa-lib/0006-add-conf-for-iMX-XCVR-sound-card.patch index 1f558185d..db76eb749 100644 --- a/recipes-multimedia/alsa/alsa-lib/0006-add-conf-for-iMX-XCVR-sound-card.patch +++ b/recipes-multimedia/alsa/alsa-lib/0006-add-conf-for-iMX-XCVR-sound-card.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 36aae65dc913e1ebe72366d7ae361897d465e88d Mon Sep 17 00:00:00 2001 | 1 | From faa9791070520f8d5e7060e5668efd1302c86c66 Mon Sep 17 00:00:00 2001 |
2 | From: Viorel Suman <viorel.suman@nxp.com> | 2 | From: Viorel Suman <viorel.suman@nxp.com> |
3 | Date: Mon, 9 Mar 2020 14:25:46 +0200 | 3 | Date: Mon, 9 Mar 2020 14:25:46 +0200 |
4 | Subject: [PATCH] add conf for iMX XCVR sound card | 4 | Subject: [PATCH] add conf for iMX XCVR sound card |
@@ -6,17 +6,16 @@ Subject: [PATCH] add conf for iMX XCVR sound card | |||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
7 | 7 | ||
8 | Signed-off-by: Viorel Suman <viorel.suman@nxp.com> | 8 | Signed-off-by: Viorel Suman <viorel.suman@nxp.com> |
9 | |||
10 | --- | 9 | --- |
11 | src/conf/cards/IMX-XCVR.conf | 39 ++++++++++++++++++++++++++++++++++++ | 10 | src/conf/cards/IMX-XCVR.conf | 39 ++++++++++++++++++++++++++++++++++++ |
12 | src/conf/cards/Makefile.am | 3 ++- | 11 | src/conf/cards/Makefile.am | 1 + |
13 | src/conf/cards/aliases.conf | 1 + | 12 | src/conf/cards/aliases.conf | 1 + |
14 | 3 files changed, 42 insertions(+), 1 deletion(-) | 13 | 3 files changed, 41 insertions(+) |
15 | create mode 100755 src/conf/cards/IMX-XCVR.conf | 14 | create mode 100755 src/conf/cards/IMX-XCVR.conf |
16 | 15 | ||
17 | diff --git a/src/conf/cards/IMX-XCVR.conf b/src/conf/cards/IMX-XCVR.conf | 16 | diff --git a/src/conf/cards/IMX-XCVR.conf b/src/conf/cards/IMX-XCVR.conf |
18 | new file mode 100755 | 17 | new file mode 100755 |
19 | index 0000000..009000c | 18 | index 000000000000..009000c63a19 |
20 | --- /dev/null | 19 | --- /dev/null |
21 | +++ b/src/conf/cards/IMX-XCVR.conf | 20 | +++ b/src/conf/cards/IMX-XCVR.conf |
22 | @@ -0,0 +1,39 @@ | 21 | @@ -0,0 +1,39 @@ |
@@ -60,21 +59,19 @@ index 0000000..009000c | |||
60 | + preamble.y 0x3 | 59 | + preamble.y 0x3 |
61 | +} | 60 | +} |
62 | diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am | 61 | diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am |
63 | index 34fa5a3..70b9bab 100644 | 62 | index 3c29bd65d341..4502919e3bec 100644 |
64 | --- a/src/conf/cards/Makefile.am | 63 | --- a/src/conf/cards/Makefile.am |
65 | +++ b/src/conf/cards/Makefile.am | 64 | +++ b/src/conf/cards/Makefile.am |
66 | @@ -61,7 +61,8 @@ cfg_files = aliases.conf \ | 65 | @@ -4,6 +4,7 @@ cfg_files = aliases.conf \ |
67 | VXPocket440.conf \ | ||
68 | CS42888.conf \ | 66 | CS42888.conf \ |
69 | IMX-HDMI.conf \ | 67 | IMX-HDMI.conf \ |
70 | - AK4458.conf | 68 | AK4458.conf \ |
71 | + AK4458.conf \ | 69 | + IMX-XCVR.conf \ |
72 | + IMX-XCVR.conf | 70 | AACI.conf \ |
73 | 71 | ATIIXP.conf \ | |
74 | if BUILD_ALISP | 72 | ATIIXP-SPDMA.conf \ |
75 | cfg_files += aliases.alisp | ||
76 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf | 73 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf |
77 | index 2f0a22a..e824145 100644 | 74 | index dda71d99916e..6dab14855f25 100644 |
78 | --- a/src/conf/cards/aliases.conf | 75 | --- a/src/conf/cards/aliases.conf |
79 | +++ b/src/conf/cards/aliases.conf | 76 | +++ b/src/conf/cards/aliases.conf |
80 | @@ -60,6 +60,7 @@ VC4-HDMI cards.vc4-hdmi | 77 | @@ -60,6 +60,7 @@ VC4-HDMI cards.vc4-hdmi |
@@ -85,3 +82,6 @@ index 2f0a22a..e824145 100644 | |||
85 | 82 | ||
86 | <confdir:ctl/default.conf> | 83 | <confdir:ctl/default.conf> |
87 | <confdir:pcm/default.conf> | 84 | <confdir:pcm/default.conf> |
85 | -- | ||
86 | 2.42.0 | ||
87 | |||
diff --git a/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch b/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch index 64e15be4a..fa71078e4 100644 --- a/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch +++ b/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch | |||
@@ -1,107 +1,109 @@ | |||
1 | From 97d5e09a4166b45c567026e51b8a25ef5d7d587d Mon Sep 17 00:00:00 2001 | 1 | From 38d84440a7bec9e26380f08f050b2ada772b822e Mon Sep 17 00:00:00 2001 |
2 | From: Chancel Liu <chancel.liu@nxp.com> | 2 | From: Chancel Liu <chancel.liu@nxp.com> |
3 | Date: Fri, 29 Jul 2022 16:12:37 +0800 | 3 | Date: Fri, 29 Jul 2022 16:12:37 +0800 |
4 | Subject: [PATCH] add conf for imx-cs42448 sound card | 4 | Subject: [PATCH] add conf for imx-cs42448 sound card |
5 | 5 | MIME-Version: 1.0 | |
6 | Upstream-Status: Inappropriate [i.MX specific] | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | 7 | Content-Transfer-Encoding: 8bit | |
8 | Signed-off-by: Chancel Liu <chancel.liu@nxp.com> | 8 | |
9 | --- | 9 | Upstream-Status: Inappropriate [i.MX specific] |
10 | src/conf/cards/CS42448.conf | 58 +++++++++++++++++++++++++++++++++++++ | 10 | |
11 | src/conf/cards/Makefile.am | 3 +- | 11 | Signed-off-by: Chancel Liu <chancel.liu@nxp.com> |
12 | src/conf/cards/aliases.conf | 1 + | 12 | --- |
13 | 3 files changed, 61 insertions(+), 1 deletion(-) | 13 | src/conf/cards/CS42448.conf | 58 +++++++++++++++++++++++++++++++++++++ |
14 | create mode 100644 src/conf/cards/CS42448.conf | 14 | src/conf/cards/Makefile.am | 1 + |
15 | 15 | src/conf/cards/aliases.conf | 1 + | |
16 | diff --git a/src/conf/cards/CS42448.conf b/src/conf/cards/CS42448.conf | 16 | 3 files changed, 60 insertions(+) |
17 | new file mode 100644 | 17 | create mode 100644 src/conf/cards/CS42448.conf |
18 | index 00000000..28ba5c48 | 18 | |
19 | --- /dev/null | 19 | diff --git a/src/conf/cards/CS42448.conf b/src/conf/cards/CS42448.conf |
20 | +++ b/src/conf/cards/CS42448.conf | 20 | new file mode 100644 |
21 | @@ -0,0 +1,58 @@ | 21 | index 000000000000..28ba5c485837 |
22 | +# | 22 | --- /dev/null |
23 | +# Configuration for the CS42448 chip | 23 | +++ b/src/conf/cards/CS42448.conf |
24 | +# | 24 | @@ -0,0 +1,58 @@ |
25 | + | 25 | +# |
26 | +# default with dmix & dsnoop | 26 | +# Configuration for the CS42448 chip |
27 | +CS42448.pcm.default { | 27 | +# |
28 | + @args [ CARD ] | 28 | + |
29 | + @args.CARD { | 29 | +# default with dmix & dsnoop |
30 | + type string | 30 | +CS42448.pcm.default { |
31 | + } | 31 | + @args [ CARD ] |
32 | + type asym | 32 | + @args.CARD { |
33 | + playback.pcm { | 33 | + type string |
34 | + type plug | 34 | + } |
35 | + slave.pcm { | 35 | + type asym |
36 | + @func concat | 36 | + playback.pcm { |
37 | + strings [ "dmix:" $CARD ",FORMAT=S32_LE" ] | 37 | + type plug |
38 | + } | 38 | + slave.pcm { |
39 | + } | 39 | + @func concat |
40 | + capture.pcm { | 40 | + strings [ "dmix:" $CARD ",FORMAT=S32_LE" ] |
41 | + type plug | 41 | + } |
42 | + slave.pcm { | 42 | + } |
43 | + @func concat | 43 | + capture.pcm { |
44 | + strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ] | 44 | + type plug |
45 | + } | 45 | + slave.pcm { |
46 | + } | 46 | + @func concat |
47 | +} | 47 | + strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ] |
48 | + | 48 | + } |
49 | +<confdir:pcm/surround51.conf> | 49 | + } |
50 | + | 50 | +} |
51 | +CS42448.pcm.surround51.0 { | 51 | + |
52 | + @args [ CARD ] | 52 | +<confdir:pcm/surround51.conf> |
53 | + @args.CARD { | 53 | + |
54 | + type string | 54 | +CS42448.pcm.surround51.0 { |
55 | + } | 55 | + @args [ CARD ] |
56 | + type plug | 56 | + @args.CARD { |
57 | + slave.pcm { | 57 | + type string |
58 | + type hw | 58 | + } |
59 | + card $CARD | 59 | + type plug |
60 | + } | 60 | + slave.pcm { |
61 | + slave.channels 6 | 61 | + type hw |
62 | +} | 62 | + card $CARD |
63 | + | 63 | + } |
64 | +<confdir:pcm/surround71.conf> | 64 | + slave.channels 6 |
65 | + | 65 | +} |
66 | +CS42448.pcm.surround71.0 { | 66 | + |
67 | + @args [ CARD ] | 67 | +<confdir:pcm/surround71.conf> |
68 | + @args.CARD { | 68 | + |
69 | + type string | 69 | +CS42448.pcm.surround71.0 { |
70 | + } | 70 | + @args [ CARD ] |
71 | + type plug | 71 | + @args.CARD { |
72 | + slave.pcm { | 72 | + type string |
73 | + type hw | 73 | + } |
74 | + card $CARD | 74 | + type plug |
75 | + } | 75 | + slave.pcm { |
76 | + slave.channels 8 | 76 | + type hw |
77 | +} | 77 | + card $CARD |
78 | + | 78 | + } |
79 | +# vim: ft=alsaconf | 79 | + slave.channels 8 |
80 | diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am | 80 | +} |
81 | index 70b9bab3..6aba20b4 100644 | 81 | + |
82 | --- a/src/conf/cards/Makefile.am | 82 | +# vim: ft=alsaconf |
83 | +++ b/src/conf/cards/Makefile.am | 83 | diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am |
84 | @@ -62,7 +62,8 @@ cfg_files = aliases.conf \ | 84 | index 4502919e3bec..da2def3a9498 100644 |
85 | CS42888.conf \ | 85 | --- a/src/conf/cards/Makefile.am |
86 | IMX-HDMI.conf \ | 86 | +++ b/src/conf/cards/Makefile.am |
87 | AK4458.conf \ | 87 | @@ -5,6 +5,7 @@ cfg_files = aliases.conf \ |
88 | - IMX-XCVR.conf | 88 | IMX-HDMI.conf \ |
89 | + IMX-XCVR.conf \ | 89 | AK4458.conf \ |
90 | + CS42448.conf | 90 | IMX-XCVR.conf \ |
91 | 91 | + CS42448.conf \ | |
92 | if BUILD_ALISP | 92 | AACI.conf \ |
93 | cfg_files += aliases.alisp | 93 | ATIIXP.conf \ |
94 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf | 94 | ATIIXP-SPDMA.conf \ |
95 | index e824145d..a40d3731 100644 | 95 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf |
96 | --- a/src/conf/cards/aliases.conf | 96 | index 6dab14855f25..554db846f8e5 100644 |
97 | +++ b/src/conf/cards/aliases.conf | 97 | --- a/src/conf/cards/aliases.conf |
98 | @@ -61,6 +61,7 @@ imx-cs42888 cards.CS42888 | 98 | +++ b/src/conf/cards/aliases.conf |
99 | imx-hdmi-soc cards.IMX-HDMI | 99 | @@ -61,6 +61,7 @@ imx-cs42888 cards.CS42888 |
100 | ak4458-audio cards.AK4458 | 100 | imx-hdmi-soc cards.IMX-HDMI |
101 | imx-audio-xcvr cards.IMX-XCVR | 101 | ak4458-audio cards.AK4458 |
102 | +imx-cs42448 cards.CS42448 | 102 | imx-audio-xcvr cards.IMX-XCVR |
103 | 103 | +imx-cs42448 cards.CS42448 | |
104 | <confdir:ctl/default.conf> | 104 | |
105 | <confdir:pcm/default.conf> | 105 | <confdir:ctl/default.conf> |
106 | -- | 106 | <confdir:pcm/default.conf> |
107 | 2.17.1 | 107 | -- |
108 | 2.42.0 | ||
109 | |||
diff --git a/recipes-multimedia/alsa/alsa-lib_%.bbappend b/recipes-multimedia/alsa/alsa-lib_%.bbappend index 65498aed1..230cf0957 100644 --- a/recipes-multimedia/alsa/alsa-lib_%.bbappend +++ b/recipes-multimedia/alsa/alsa-lib_%.bbappend | |||
@@ -10,6 +10,3 @@ IMX_PATCH = " \ | |||
10 | SRC_URI:append:imx-nxp-bsp = "${IMX_PATCH}" | 10 | SRC_URI:append:imx-nxp-bsp = "${IMX_PATCH}" |
11 | 11 | ||
12 | PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" | 12 | PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" |
13 | |||
14 | GLIBC_64BIT_TIME_FLAGS = "" | ||
15 | INSANE_SKIP:append = " 32bit-time" | ||
diff --git a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb index b05c3a48c..e87a47020 100644 --- a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb +++ b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | # Copyright 2013-2016 Freescale Semiconductor | 1 | # Copyright 2013-2016 Freescale Semiconductor |
2 | # Copyright 2017-2023 NXP | 2 | # Copyright 2017-2024 NXP |
3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
4 | 4 | ||
5 | DESCRIPTION = "Freescale alsa-lib plugins" | 5 | DESCRIPTION = "Freescale alsa-lib plugins" |
@@ -20,10 +20,8 @@ inherit autotools pkgconfig use-imx-headers | |||
20 | PV = "1.0.26+${SRCPV}" | 20 | PV = "1.0.26+${SRCPV}" |
21 | 21 | ||
22 | SRC_URI = "git://github.com/nxp-imx/imx-alsa-plugins.git;protocol=https;branch=${SRCBRANCH}" | 22 | SRC_URI = "git://github.com/nxp-imx/imx-alsa-plugins.git;protocol=https;branch=${SRCBRANCH}" |
23 | SRCBRANCH = "MM_04.09.00_2405_L6.6.y" | 23 | SRCBRANCH = "MM_04.09.03_2412_L6.12.y" |
24 | SRCREV = "b2ba082e70333f187972ee4e85f63f9d2f608331" | 24 | SRCREV = "eaf0900662d6381bcc433165219280cca1752890" |
25 | |||
26 | S = "${WORKDIR}/git" | ||
27 | 25 | ||
28 | CFLAGS:append = " -I${STAGING_INCDIR_IMX}" | 26 | CFLAGS:append = " -I${STAGING_INCDIR_IMX}" |
29 | 27 | ||