[meta-freescale] [meta-fsl-arm][PATCH v2 11/13] fsl-alsa-plugins: Remove the old recipe

Yuqing Zhu carol.zhu at nxp.com
Fri Apr 1 02:23:43 PDT 2016


Signed-off-by: Yuqing Zhu <carol.zhu at nxp.com>
---
 .../0001-asrc_pair-update-output-buffer-size.patch | 47 ----------------------
 recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb | 37 -----------------
 2 files changed, 84 deletions(-)
 delete mode 100644 recipes-multimedia/alsa/fsl-alsa-plugins/0001-asrc_pair-update-output-buffer-size.patch
 delete mode 100644 recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb

diff --git a/recipes-multimedia/alsa/fsl-alsa-plugins/0001-asrc_pair-update-output-buffer-size.patch b/recipes-multimedia/alsa/fsl-alsa-plugins/0001-asrc_pair-update-output-buffer-size.patch
deleted file mode 100644
index d76c74d..0000000
--- a/recipes-multimedia/alsa/fsl-alsa-plugins/0001-asrc_pair-update-output-buffer-size.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 9acab46fe307ec71d4a4dbe447e356f90b6a4a09 Mon Sep 17 00:00:00 2001
-From: Shengjiu Wang <shengjiu.wang at freescale.com>
-Date: Fri, 12 Dec 2014 14:58:06 +0800
-Subject: [PATCH] [asrc_pair] update output buffer size
-
-When input size larger than DMA_MAX_BYTES the output size should be updated.
-Otherwise the asrc have will not have enough data, then it will be timeout.
-
-Upstream Status: Inappropriate [platform specific]
-
-Signed-off-by: Shengjiu Wang <shengjiu.wang at freescale.com>
----
- asrc/asrc_pair.c | 11 ++++++++---
- 1 file changed, 8 insertions(+), 3 deletions(-)
-
-diff --git a/asrc/asrc_pair.c b/asrc/asrc_pair.c
-index e3df027..e74e8b1 100644
---- a/asrc/asrc_pair.c
-+++ b/asrc/asrc_pair.c
-@@ -139,7 +139,7 @@ asrc_pair *asrc_pair_create(unsigned int channels, ssize_t in_period_frames,
-     config.dma_buffer_size = dma_buffer_size;
-     config.input_sample_rate = in_rate;
-     config.output_sample_rate = out_rate;
--    config.buffer_num = 1;
-+    config.buffer_num = buf_num;
-     config.input_word_width = ASRC_WIDTH_16_BIT;
-     config.output_word_width = ASRC_WIDTH_16_BIT;
-     config.inclk = INCLK_NONE;
-@@ -303,8 +303,13 @@ void asrc_pair_convert_s16(asrc_pair *pair, const int16_t *src, unsigned int src
-
-     while (src_left > 0)
-     {
--        in_len = src_left > pair->buf_size ? pair->buf_size : src_left;
--        out_len = dst_left;
-+	if (src_left > pair->buf_size) {
-+		in_len = pair->buf_size;
-+		out_len = dst_left * in_len/src_left;
-+	} else {
-+		in_len = src_left;
-+		out_len = dst_left;
-+	}
-
-         buf_info.input_buffer_vaddr = s;
-         buf_info.input_buffer_length = in_len;
---
-1.9.1
-
diff --git a/recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb b/recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb
deleted file mode 100644
index 2959c7a..0000000
--- a/recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright (C) 2013 Freescale Semiconductor
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-DESCRIPTION = "Freescale alsa-lib plugins"
-LICENSE = "GPLv2"
-SECTION = "multimedia"
-DEPENDS = "alsa-lib virtual/kernel"
-
-# Make sure kernel sources are available
-do_configure[depends] += "virtual/kernel:do_shared_workdir"
-
-LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f"
-
-inherit autotools pkgconfig
-
-SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.tar.gz"
-SRC_URI[md5sum] = "b1ca7a250a8cd5da07062081b30b4118"
-SRC_URI[sha256sum] = "902df92255d755e8eb08b3c3db0c7b9d70d26d9659b219373bee425ffdc34245"
-
-SRC_URI_append_mx6 = " file://0001-asrc_pair-update-output-buffer-size.patch"
-SRC_URI_append_mx6ul = " file://0001-asrc_pair-update-output-buffer-size.patch"
-SRC_URI_append_mx7 = " file://0001-asrc_pair-update-output-buffer-size.patch"
-
-INCLUDE_DIR = "-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"
-
-EXTRA_OECONF = "CFLAGS="${INCLUDE_DIR}""
-
-INSANE_SKIP_${PN} = "dev-so"
-
-FILES_${PN} += "${libdir}/alsa-lib/libasound_*.so"
-FILES_${PN}-dbg += "${libdir}/alsa-lib/.debug"
-FILES_${PN}-dev += "${libdir}/alsa-lib/*.la"
-
-COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)"
-PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}"
-PACKAGE_ARCH_mx6ul = "${MACHINE_SOCARCH}"
-PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}"
-- 
1.9.1



More information about the meta-freescale mailing list