commit 9da9c59

hovercats  ·  2024-12-31 04:14:44 +0000 UTC
parent 5aaca3e
tinyalsa: bump to e43025b
3 files changed,  +2, -31
+0, -29
 1@@ -1,29 +0,0 @@
 2-From ecc8e52555cfbbbb14269880dea48cf0bf42ab50 Mon Sep 17 00:00:00 2001
 3-From: Michael Forney <mforney@mforney.org>
 4-Date: Mon, 31 Oct 2022 00:07:42 -0700
 5-Subject: [PATCH] tinyplay: fix playback of 24-bit and 8-bit pcm
 6-
 7-The bits-to-format function returned bool, which happened to work
 8-for PCM_FORMAT_S16_LE (0) and PCM_FORMAT_S32_LE (1). However, all
 9-other formats were incorrectly mapped to PCM_FORMAT_S32_LE. Return
10-enum pcm_format instead.
11----
12- utils/tinyplay.c | 2 +-
13- 1 file changed, 1 insertion(+), 1 deletion(-)
14-
15-diff --git a/utils/tinyplay.c b/utils/tinyplay.c
16-index 9f72bbb..d617074 100644
17---- a/utils/tinyplay.c
18-+++ b/utils/tinyplay.c
19-@@ -112,7 +112,7 @@ static bool is_wave_file(const char *filetype)
20-     return filetype != NULL && strcmp(filetype, "wav") == 0;
21- }
22- 
23--static bool signed_pcm_bits_to_format(int bits)
24-+static enum pcm_format signed_pcm_bits_to_format(int bits)
25- {
26-     switch (bits) {
27-     case 8:
28--- 
29-2.37.3
30-
+1, -1
1@@ -1 +1 @@
2-Subproject commit 4fbaeef03cd1cb216e0f356c0433ca70f8b9c464
3+Subproject commit e43025bbf702eb7dd8edd48c1eb50530c60f1de8
+1, -1
1@@ -1 +1 @@
2-4fbaeef r0
3+e43025b r0