projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eed4133
)
src/spectral/dct.c: ooura supports any power of 2
author
Paul Brossier
<piem@piem.org>
Sun, 12 Aug 2018 20:36:58 +0000
(22:36 +0200)
committer
Paul Brossier
<piem@piem.org>
Sun, 12 Aug 2018 20:36:58 +0000
(22:36 +0200)
src/spectral/dct.c
patch
|
blob
|
history
diff --git
a/src/spectral/dct.c
b/src/spectral/dct.c
index
e700104
..
85c0098
100644
(file)
--- a/
src/spectral/dct.c
+++ b/
src/spectral/dct.c
@@
-124,8
+124,8
@@
aubio_dct_t* new_aubio_dct (uint_t size) {
goto plain;
}
#else
goto plain;
}
#else
- // ooura
does not support sizes < 16 or non-
power of 2
- if (aubio_is_power_of_two(size) != 1
|| size < 16
) {
+ // ooura
support sizes that are
power of 2
+ if (aubio_is_power_of_two(size) != 1) {
goto plain;
}
s->dct = (void *)new_aubio_dct_ooura (size);
goto plain;
}
s->dct = (void *)new_aubio_dct_ooura (size);