Changes in / [057ecee:ba740ea]


Ignore:
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified .travis.yml

    r057ecee rba740ea  
    99      os: linux
    1010      compiler: gcc
    11       env: WAFOPTS="--build-type=debug"
    1211    - python: 2.7
    1312      os: linux
  • TabularUnified src/aubio_priv.h

    r057ecee rba740ea  
    7575#endif
    7676
    77 #if defined(HAVE_BLAS) // --enable-blas=true
    78 // check which cblas header we found
     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)
    7983#if defined(HAVE_ATLAS_CBLAS_H)
    8084#define HAVE_ATLAS 1
     
    8488#elif defined(HAVE_CBLAS_H)
    8589#include <cblas.h>
    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
     90#endif
     91#endif
     92
     93#ifdef HAVE_ACCELERATE
    9594#include <Accelerate/Accelerate.h>
    96 
    9795#ifndef HAVE_AUBIO_DOUBLE
    9896#define aubio_vDSP_mmov       vDSP_mmov
  • TabularUnified src/io/sink.c

    r057ecee rba740ea  
    136136
    137137void del_aubio_sink(aubio_sink_t * s) {
    138   //AUBIO_ASSERT(s);
     138  AUBIO_ASSERT(s);
    139139  if (s && s->s_del && s->sink)
    140140    s->s_del((void *)s->sink);
  • TabularUnified src/io/sink_wavwrite.c

    r057ecee rba740ea  
    212212
    213213  // fwrite(*, *, 1, s->fid) was called 13 times, check success
    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;
     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);
    219217    return AUBIO_FAIL;
    220218  }
  • TabularUnified src/io/source.c

    r057ecee rba740ea  
    139139
    140140void del_aubio_source(aubio_source_t * s) {
    141   //AUBIO_ASSERT(s);
     141  AUBIO_ASSERT(s);
    142142  if (s && s->s_del && s->source)
    143143    s->s_del((void *)s->source);
Note: See TracChangeset for help on using the changeset viewer.