Changeset 057ecee
- Timestamp:
- Jan 8, 2019, 7:21:22 PM (6 years ago)
- Branches:
- feature/crepe_org
- Children:
- 977a5c3
- Parents:
- ba740ea (diff), 65a4fb4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
.travis.yml
rba740ea r057ecee 9 9 os: linux 10 10 compiler: gcc 11 env: WAFOPTS="--build-type=debug" 11 12 - python: 2.7 12 13 os: linux -
src/aubio_priv.h
rba740ea r057ecee 75 75 #endif 76 76 77 #if defined(HAVE_ACCELERATE) 78 #define HAVE_ATLAS 1 79 #define HAVE_BLAS 1 80 #include <Accelerate/Accelerate.h> 81 #elif defined(HAVE_ATLAS_CBLAS_H) 82 #elif defined(HAVE_BLAS) 77 #if defined(HAVE_BLAS) // --enable-blas=true 78 // check which cblas header we found 83 79 #if defined(HAVE_ATLAS_CBLAS_H) 84 80 #define HAVE_ATLAS 1 … … 88 84 #elif defined(HAVE_CBLAS_H) 89 85 #include <cblas.h> 90 #endif 91 #endif 92 93 #ifdef HAVE_ACCELERATE 86 #elif !defined(HAVE_ACCELERATE) 87 #error "HAVE_BLAS was defined, but no blas header was found" 88 #endif /* end of cblas includes */ 89 #endif 90 91 #if defined(HAVE_ACCELERATE) 92 // include accelerate framework after blas 93 #define HAVE_ATLAS 1 94 #define HAVE_BLAS 1 94 95 #include <Accelerate/Accelerate.h> 96 95 97 #ifndef HAVE_AUBIO_DOUBLE 96 98 #define aubio_vDSP_mmov vDSP_mmov -
src/io/sink.c
rba740ea r057ecee 136 136 137 137 void del_aubio_sink(aubio_sink_t * s) { 138 AUBIO_ASSERT(s);138 //AUBIO_ASSERT(s); 139 139 if (s && s->s_del && s->sink) 140 140 s->s_del((void *)s->sink); -
src/io/sink_wavwrite.c
rba740ea r057ecee 212 212 213 213 // fwrite(*, *, 1, s->fid) was called 13 times, check success 214 if (written != 13) { 215 AUBIO_STRERR("sink_wavwrite: writing header to %s failed, expected %d" 216 " write but got only %d (%s)\n", s->path, 13, written, errorstr); 214 if (written != 13 || fflush(s->fid)) { 215 AUBIO_STRERR("sink_wavwrite: writing header to %s failed" 216 " (wrote %d/%d, %s)\n", s->path, written, 13, errorstr); 217 fclose(s->fid); 218 s->fid = NULL; 217 219 return AUBIO_FAIL; 218 220 } -
src/io/source.c
rba740ea r057ecee 139 139 140 140 void del_aubio_source(aubio_source_t * s) { 141 AUBIO_ASSERT(s);141 //AUBIO_ASSERT(s); 142 142 if (s && s->s_del && s->source) 143 143 s->s_del((void *)s->source);
Note: See TracChangeset
for help on using the changeset viewer.