projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8098196
)
[ci] avoid rubberband warning in major version 3
master
author
Lluc Simó
<lluc.simo@protonmail.com>
Wed, 26 Feb 2025 22:50:54 +0000
(23:50 +0100)
committer
Paul Brossier
<piem@piem.org>
Thu, 8 May 2025 17:35:54 +0000
(19:35 +0200)
src/effects/rubberband_utils.c
patch
|
blob
|
history
diff --git
a/src/effects/rubberband_utils.c
b/src/effects/rubberband_utils.c
index
6e904c4
..
c11426c
100644
(file)
--- a/
src/effects/rubberband_utils.c
+++ b/
src/effects/rubberband_utils.c
@@
-6,9
+6,9
@@
#include <rubberband/rubberband-c.h>
#include <rubberband/rubberband-c.h>
-// check rubberband is 1.8.1, warn if 1.3
-#if !((RUBBERBAND_API_MAJOR_VERSION >
= 2) &&
\
- (
RUBBERBAND_API_MINOR_VERSION >= 5
))
+// check rubberband is
greater than
1.8.1, warn if 1.3
+#if !((RUBBERBAND_API_MAJOR_VERSION >
2) ||
\
+ (
(RUBBERBAND_API_MAJOR_VERSION == 2) && (RUBBERBAND_API_MINOR_VERSION >= 5)
))
#warning RubberBandOptionDetectorSoft not available, \
please upgrade rubberband to version 1.8.1 or higher
#define RubberBandOptionDetectorSoft 0x00000000
#warning RubberBandOptionDetectorSoft not available, \
please upgrade rubberband to version 1.8.1 or higher
#define RubberBandOptionDetectorSoft 0x00000000