From: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v1] alsa-utils: Include upstream fix for unsupported bit format
Date: Wed, 7 Jan 2026 12:06:05 +0530 [thread overview]
Message-ID: <20260107063605.3838495-1-mohammad.rafi.shaik@oss.qualcomm.com> (raw)
Include upstream patch addressing the unsupported bit format issue
in arecord/aplay.
Commit:
https://github.com/alsa-project/alsa-utils/commit/a12ec83fa93e16a76f5c57f128f819dfe332f96c
Upstream change log:
https://www.alsa-project.org/wiki/Changes_v1.2.15_v1.2.15.1#aplay/arecord
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
---
...issing-break-before-the-default-case.patch | 32 +++++++++++++++++++
.../alsa/alsa-utils_1.2.15.bb | 3 +-
2 files changed, 34 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-multimedia/alsa/alsa-utils-1.2.15/0001-aplay-add-missing-break-before-the-default-case.patch
diff --git a/meta/recipes-multimedia/alsa/alsa-utils-1.2.15/0001-aplay-add-missing-break-before-the-default-case.patch b/meta/recipes-multimedia/alsa/alsa-utils-1.2.15/0001-aplay-add-missing-break-before-the-default-case.patch
new file mode 100644
index 0000000000..53366e6f61
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-utils-1.2.15/0001-aplay-add-missing-break-before-the-default-case.patch
@@ -0,0 +1,32 @@
+From a12ec83fa93e16a76f5c57f128f819dfe332f96c Mon Sep 17 00:00:00 2001
+From: Bard Liao <yung-chuan.liao@linux.intel.com>
+Date: Tue, 16 Dec 2025 21:55:54 +0800
+Subject: [PATCH] aplay: add missing break before the default case
+
+Add the break before the default case back. Otherwise, all cases will
+fall into the default/error case.
+
+Closes: https://github.com/alsa-project/alsa-utils/pull/315
+Fixes: e78583ab7cde ("aplay: reorganize format handling in begin_wave()")
+Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
+Signed-off-by: Jaroslav Kysela <perex@perex.cz>
+Upstream-Status: Backport [a12ec83fa93e16a76f5c57f128f819dfe332f96c]
+---
+ aplay/aplay.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/aplay/aplay.c b/aplay/aplay.c
+index 63a5214..737d087 100644
+--- a/aplay/aplay.c
++++ b/aplay/aplay.c
+@@ -2731,6 +2731,7 @@ static void begin_wave(int fd, size_t cnt)
+ case SND_PCM_FORMAT_S32_LE:
+ case SND_PCM_FORMAT_FLOAT_LE:
+ case SND_PCM_FORMAT_S24_3LE:
++ break;
+ default:
+ _format:
+ error(_("Wave doesn't support %s format..."), snd_pcm_format_name(hwparams.format));
+--
+2.34.1
+
diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.2.15.bb b/meta/recipes-multimedia/alsa/alsa-utils_1.2.15.bb
index 09b3de81f4..144e9dfad3 100644
--- a/meta/recipes-multimedia/alsa/alsa-utils_1.2.15.bb
+++ b/meta/recipes-multimedia/alsa/alsa-utils_1.2.15.bb
@@ -25,7 +25,8 @@ PACKAGECONFIG[manpages] = "--enable-xmlto, --disable-xmlto, xmlto-native docbook
# alsa-utils specified in SRC_URI due to alsa-utils-scripts recipe
SRC_URI = "https://www.alsa-project.org/files/pub/utils/alsa-utils-${PV}.tar.bz2 \
- file://0001-alsactl-fix-build-when-in-subdirectory.patch"
+ file://0001-alsactl-fix-build-when-in-subdirectory.patch \
+ file://0001-aplay-add-missing-break-before-the-default-case.patch"
SRC_URI[sha256sum] = "d3183d2ed2d69e9143c5beb97036267c3fdabfe8bfbea8bc6863f17b1f0b568e"
# On build machines with python-docutils (not python3-docutils !!) installed
--
2.34.1
next reply other threads:[~2026-01-07 8:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-07 6:36 Mohammad Rafi Shaik [this message]
2026-01-07 9:05 ` [OE-core] [PATCH v1] alsa-utils: Include upstream fix for unsupported bit format Anuj Mittal
2026-01-07 9:19 ` Mohammad Rafi Shaik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260107063605.3838495-1-mohammad.rafi.shaik@oss.qualcomm.com \
--to=mohammad.rafi.shaik@oss.qualcomm.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox