You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/11/18 09:03:06 UTC

[GitHub] [incubator-nuttx] jerpelea commented on a change in pull request #2324: audio: libsamplerate: add initial audio Sample Rate Converter

jerpelea commented on a change in pull request #2324:
URL: https://github.com/apache/incubator-nuttx/pull/2324#discussion_r525918901



##########
File path: libs/libc/audio/libsrc/0001-samplerate-define-package-and-version-for-NuttX-OS.patch
##########
@@ -0,0 +1,34 @@
+From 23d050a04e00d7029a619d235eda137dd3455ab2 Mon Sep 17 00:00:00 2001
+From: Alin Jerpelea <al...@sony.com>
+Date: Mon, 16 Nov 2020 09:43:35 +0100
+Subject: [PATCH 1/2] samplerate: define package and version for NuttX OS
+
+We have to define the PACKAGE and VERSION for NuttX OS.
+
+Signed-off-by: Alin Jerpelea <al...@sony.com>
+---
+ src/samplerate.h | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/src/samplerate.h b/src/samplerate.h
+index a3d5ae1..c1cfd6d 100644
+--- a/src/samplerate.h
++++ b/src/samplerate.h
+@@ -18,6 +18,15 @@
+ extern "C" {
+ #endif	/* __cplusplus */
+ 
++/* Name of package */
++#ifndef PACKAGE
++#define PACKAGE "libsamplerate"
++#endif
++
++/* Version number of package */
++#ifndef VERSION
++#define VERSION "0.1.9"
++#endif
+ 
+ /* Opaque data type SRC_STATE. */
+ typedef struct SRC_STATE_tag SRC_STATE ;

Review comment:
       removed




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org