Skip to content

Commit

Permalink
alsa-lib: Refreshing and adding patch status
Browse files Browse the repository at this point in the history
Refreshing pcm patch based on yocto-5 head

Adding upstream status for patches based on yocto-5 QA requirements

Signed-off-by: UtsavAgarwalADI <[email protected]>
  • Loading branch information
UtsavAgarwalADI committed May 13, 2024
1 parent d270d62 commit 636a770
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Upstream-Status: Pending
---
Index: alsa-lib/src/conf/cards/AD1980-no-mmap.conf
===================================================================
--- alsa-lib/src/conf/cards/AD1980-no-mmap.conf (revision 0)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
Index: alsa-lib/src/pcm/pcm_ladspa.c
===================================================================
--- alsa-lib/src/pcm/pcm_ladspa.c (revision 10341)
+++ alsa-lib/src/pcm/pcm_ladspa.c (revision 10342)
@@ -34,7 +34,9 @@
#include <dirent.h>
#include <locale.h>
+#ifndef HAVE_SOFT_FLOAT
#include <math.h>
+#endif
#include "pcm_local.h"
#include "pcm_plugin.h"
@@ -513,36 +515,39 @@
From 930f94d3ddc67031ca21e08843e79fd0526eb0a7 Mon Sep 17 00:00:00 2001
From: UtsavAgarwalADI <[email protected]>
Date: Wed, 3 Apr 2024 13:18:29 +0100
Subject: [PATCH] ADSP: pcm patch for yocto
Upstream-Status: Pending
Signed-off-by: UtsavAgarwalADI <[email protected]>
---
src/pcm/pcm_ladspa.c | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/src/pcm/pcm_ladspa.c b/src/pcm/pcm_ladspa.c
index 25eac76f..50dd6479 100644
--- a/src/pcm/pcm_ladspa.c
+++ b/src/pcm/pcm_ladspa.c
@@ -513,36 +513,39 @@ static void snd_pcm_ladspa_get_default_cvalue(const LADSPA_Descriptor * desc, un
*val = desc->PortRangeHints[port].LowerBound;
break;
case LADSPA_HINT_DEFAULT_LOW:
Expand All @@ -24,7 +24,7 @@ Index: alsa-lib/src/pcm/pcm_ladspa.c
+ log(desc->PortRangeHints[port].UpperBound)
* 0.25);
- } else {
+ else
+ else
+#endif
*val = (desc->PortRangeHints[port].LowerBound * 0.75) +
(desc->PortRangeHints[port].UpperBound * 0.25);
Expand Down Expand Up @@ -61,3 +61,6 @@ Index: alsa-lib/src/pcm/pcm_ladspa.c
break;
case LADSPA_HINT_DEFAULT_MAXIMUM:
*val = desc->PortRangeHints[port].UpperBound;
--
2.25.1

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
From 2144a3491aae90de9e70bde613fc3f8754f83fc8 Mon Sep 17 00:00:00 2001
From: Nathan Barrett Morrison <[email protected]>
Date: Mon, 3 Jun 2019 13:09:23 -0400
Upstream-Status: Pending
Subject: [PATCH] alsa-lib-03-fix-compile-warning.patch

---
src/ucm/parser.c | 1 +
1 file changed, 1 insertion(+)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Upstream-Status: Pending
---
Index: alsa-lib/src/conf/cards/SSM2602.conf
===================================================================
--- alsa-lib/src/conf/cards/SSM2602.conf (revision 10418)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
From c85acca5bc7926c01bfaa3c3afa8b6cef37dcb07 Mon Sep 17 00:00:00 2001
From: Nathan Barrett Morrison <[email protected]>
Date: Mon, 3 Jun 2019 13:11:07 -0400
Upstream-Status: Pending
Subject: [PATCH] alsa-lib-05-add-adi-audio-codec-configs-to-cfg_files.patch

---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Upstream-Status: Pending
---
--- alsa-lib-1.0.28/src/conf/cards/Makefile.am.org 2015-07-29 14:40:39.292994116 +0800
+++ alsa-lib-1.0.28/src/conf/cards/Makefile.am 2015-07-29 14:41:14.536993014 +0800
@@ -36,6 +36,7 @@
Expand Down

0 comments on commit 636a770

Please sign in to comment.