projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6091189
)
[dct] remove size check to test each method
author
Paul Brossier
<piem@piem.org>
Mon, 26 Nov 2018 15:27:58 +0000
(16:27 +0100)
committer
Paul Brossier
<piem@piem.org>
Mon, 26 Nov 2018 15:27:58 +0000
(16:27 +0100)
src/spectral/dct.c
patch
|
blob
|
history
diff --git
a/src/spectral/dct.c
b/src/spectral/dct.c
index
1a2e510
..
debe4e7
100644
(file)
--- a/
src/spectral/dct.c
+++ b/
src/spectral/dct.c
@@
-81,7
+81,6
@@
struct _aubio_dct_t {
aubio_dct_t* new_aubio_dct (uint_t size) {
aubio_dct_t * s = AUBIO_NEW(aubio_dct_t);
aubio_dct_t* new_aubio_dct (uint_t size) {
aubio_dct_t * s = AUBIO_NEW(aubio_dct_t);
- if ((sint_t)size <= 0) goto beach;
#if defined(HAVE_ACCELERATE)
// vDSP supports sizes = f * 2 ** n, where n >= 4 and f in [1, 3, 5, 15]
// see https://developer.apple.com/documentation/accelerate/1449930-vdsp_dct_createsetup
#if defined(HAVE_ACCELERATE)
// vDSP supports sizes = f * 2 ** n, where n >= 4 and f in [1, 3, 5, 15]
// see https://developer.apple.com/documentation/accelerate/1449930-vdsp_dct_createsetup