Changes in / [e43464c:8b3a7e7]


Ignore:
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    re43464c r8b3a7e7  
    154154fi
    155155
    156 AC_ARG_ENABLE(sndfile,
    157   AC_HELP_STRING([--enable-sndfile],[compile with sndfile [[default=auto]]]),
    158   [with_sndfile=$enableval],
    159   with_sndfile="yes")
    160 if test "$with_sndfile" = "yes"; then
    161   PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.4, HAVE_SNDFILE=1, HAVE_SNDFILE=0)
    162   if test "${HAVE_SNDFILE}" = "1"; then
    163     AC_DEFINE(HAVE_SNDFILE,1,[Define to enable libsndfile support])
    164   fi
     156PKG_CHECK_MODULES(SNDFILE,     sndfile >= 1.0.4,       HAVE_SNDFILE=1)
     157if test "${HAVE_SNDFILE}" = "1"; then
     158  AC_DEFINE(HAVE_SNDFILE,1,[Define to enable libsndfile support])
    165159fi
    166160
  • examples/sndfileio.c

    re43464c r8b3a7e7  
    1818
    1919*/
    20 
    21 #ifdef HAVE_SNDFILE
    2220
    2321#include <string.h>
     
    250248}
    251249
    252 #endif /* HAVE_SNDFILE */
  • examples/utils.c

    re43464c r8b3a7e7  
    1919*/
    2020
    21 /**
     21/** 
    2222
    2323  This file includes some tools common to all examples. Code specific to the
     
    6464
    6565
    66 #ifdef HAVE_SNDFILE
    6766aubio_sndfile_t *file = NULL;
    6867aubio_sndfile_t *fileout = NULL;
    69 #else
    70 void *file = NULL;
    71 void *fileout = NULL;
    72 #endif
    7368
    7469fvec_t *ibuf;
     
    202197}
    203198
    204 #ifdef HAVE_SNDFILE
    205 
    206199void
    207200examples_common_init (int argc, char **argv)
     
    266259}
    267260
    268 #else /* HAVE_SNDFILE */
    269 
    270 void
    271 examples_common_init (int argc, char **argv)
    272 {
    273   outmsg ("Error, compiled without sndfile, nothing to do for now!\n");
    274 }
    275 
    276 
    277 #endif /* HAVE_SNDFILE */
    278 
    279261
    280262void
     
    291273aubio_jack_t *jack_setup;
    292274#endif
    293 
    294 #if HAVE_SNDFILE
    295275
    296276void
     
    341321}
    342322
    343 #else /* HAVE_SNDFILE */
    344 
    345 void
    346 examples_common_process (aubio_process_func_t process_func,
    347     aubio_print_func_t print)
    348 {
    349 }
    350 
    351 #endif /* HAVE_SNDFILE */
    352 
    353323void
    354324flush_process (aubio_process_func_t process_func, aubio_print_func_t print)
  • tests/src/Makefile.am

    re43464c r8b3a7e7  
    66
    77bin_PROGRAMS = \
     8        test-fft \
    89        test-hist \
    910        test-scale \
     
    2728        test-pitchmcomb \
    2829        test-pitch \
     30        test-beattracking \
    2931        test-onset \
     32        test-tempo \
    3033        test-mathutils \
    3134        test-tss
Note: See TracChangeset for help on using the changeset viewer.