Skip to content

Commit

Permalink
alsa-utils: refresh patches to apply on 1.1.8 version
Browse files Browse the repository at this point in the history
:Release Notes:

:Detailed Notes:

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[PLAT-77937] Create GPVB with Yocto 2.7
[PLAT-115142] CCC: Upgrade to Yocto 2.7 Warrior

Change-Id: I1d2fe3cb47bbde06f977d8ee056c45c5468c4c89
  • Loading branch information
shr-project authored and Hyunjae Shin committed Sep 26, 2020
1 parent 80a81f3 commit 6683c0d
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 4a09d01895f10fd4503ad290208915465e518a3a Mon Sep 17 00:00:00 2001
From 02d0e5bf0bce17014318180f63a79d8eb93504cf Mon Sep 17 00:00:00 2001
From: Martin Jansa <[email protected]>
Date: Thu, 18 Feb 2016 12:43:22 +0100
Subject: [PATCH] configure.ac: add parameters to enable/disable libsamplerate
Expand All @@ -8,13 +8,12 @@ Subject: [PATCH] configure.ac: add parameters to enable/disable libsamplerate
* we don't like the autodetection

Signed-off-by: Martin Jansa <[email protected]>

---
configure.ac | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index a263d3b..f61491f 100644
index 7938996..dd83749 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,8 +38,6 @@ AC_CHECK_HEADERS([alsa/use-case.h], [have_ucm="yes"], [have_ucm="no"],
Expand All @@ -26,12 +25,13 @@ index a263d3b..f61491f 100644

AC_CHECK_LIB([asound], [snd_seq_client_info_get_card], [HAVE_SEQ_CLIENT_INFO_GET_CARD="yes"])
if test "$HAVE_SEQ_CLIENT_INFO_GET_CARD" = "yes" ; then
@@ -56,7 +54,21 @@ AM_CONDITIONAL(HAVE_RAWMIDI, test "$have_rawmidi" = "yes")
@@ -67,9 +65,23 @@ AM_CONDITIONAL(HAVE_RAWMIDI, test "$have_rawmidi" = "yes")
AM_CONDITIONAL(HAVE_SEQ, test "$have_seq" = "yes")
AM_CONDITIONAL(HAVE_UCM, test "$have_ucm" = "yes")
AM_CONDITIONAL(HAVE_TOPOLOGY, test "$have_topology" = "yes")
-AM_CONDITIONAL(HAVE_SAMPLERATE, test "$have_samplerate" = "yes")
+
AM_CONDITIONAL(HAVE_FFADO, test "$have_ffado" = "yes")

+libsamplerate=
+AC_ARG_ENABLE(libsamplerate,
+ AS_HELP_STRING([--disable-libsamplerate], [Disable libsamplerate usage]),
Expand All @@ -46,6 +46,7 @@ index a263d3b..f61491f 100644
+ [#include <samplerate.h>])
+fi
+AM_CONDITIONAL(HAVE_SAMPLERATE, test $have_samplerate = "yes")
+
dnl Use tinyalsa
alsabat_backend_tiny=
AC_ARG_ENABLE(alsabat_backend_tiny,

0 comments on commit 6683c0d

Please sign in to comment.