Changes in / [3a83821:08d07ce]


Ignore:
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • doc/develop.rst

    r3a83821 r08d07ce  
    9393.. literalinclude:: ../tests/src/io/test-source.c
    9494   :language: C
    95    :lines: 24-26, 30, 32-34
     95   :lines: 22-24, 30-32, 34
    9696
    9797.. note::
     
    103103.. literalinclude:: ../tests/src/io/test-source.c
    104104   :language: C
    105    :lines: 41-45
     105   :lines: 40-44
    106106
    107107At the end of the processing loop, memory is deallocated:
     
    109109.. literalinclude:: ../tests/src/io/test-source.c
    110110   :language: C
    111    :lines: 55-58
     111   :lines: 55-56
    112112
    113113See the complete example: :download:`test-source.c
     
    127127.. literalinclude:: ../tests/src/spectral/test-phasevoc.c
    128128   :language: C
    129    :lines: 27-44
     129   :lines: 20-37
    130130
    131131Time to clean up the previously allocated memory:
     
    133133.. literalinclude:: ../tests/src/spectral/test-phasevoc.c
    134134   :language: C
    135    :lines: 47-50
     135   :lines: 39-44
    136136
    137137See the complete example: :download:`test-phasevoc.c
  • examples/parse_args.h

    r3a83821 r08d07ce  
    2626
    2727extern int verbose;
    28 extern int quiet;
    2928// input / output
    3029extern int usejack;
     
    129128#endif /* defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH) */
    130129#endif /* defined(PROG_HAS_JACK) && defined(HAVE_JACK) */
    131       "       -q      --quiet            be quiet\n"
    132130      "       -v      --verbose          be verbose\n"
    133131      "       -h      --help             display this message\n"
     
    144142{
    145143#ifdef HAVE_GETOPT_H
    146   const char *options = "hvq"
     144  const char *options = "hv"
    147145    "i:r:B:H:"
    148146#ifdef PROG_HAS_JACK
     
    176174    {"help",                  0, NULL, 'h'},
    177175    {"verbose",               0, NULL, 'v'},
    178     {"quiet",                 0, NULL, 'q'},
    179176    {"input",                 1, NULL, 'i'},
    180177    {"samplerate",            1, NULL, 'r'},
     
    230227        verbose = 1;
    231228        break;
    232       case 'q':                /* quiet */
    233         quiet = 1;
    234         break;
    235229      case 'j':
    236230        usejack = 1;
  • examples/utils.c

    r3a83821 r08d07ce  
    3333
    3434int verbose = 0;
    35 int quiet = 0;
    3635int usejack = 0;
    3736// input / output
     
    171170      process_func (input_buffer, output_buffer);
    172171      // print to console if verbose or no output given
    173       if ((verbose || sink_uri == NULL) && !quiet) {
     172      if (verbose || sink_uri == NULL) {
    174173        print();
    175174      }
  • scripts/get_waf.sh

    r3a83821 r08d07ce  
    4949popd
    5050
    51 cp -prv $WAFBUILDDIR/waf-$WAFVERSION/waf "$PWD"
     51cp -prv $WAFBUILDDIR/waf-$WAFVERSION/waf $PWD
    5252chmod +x waf
    5353
  • src/aubio_priv.h

    r3a83821 r08d07ce  
    237237#define AUBIO_INF(...)               aubio_log(AUBIO_LOG_INF, "AUBIO INFO: " __VA_ARGS__)
    238238#define AUBIO_MSG(...)               aubio_log(AUBIO_LOG_MSG, __VA_ARGS__)
    239 #define _AUBIO_DBG(...)              aubio_log(AUBIO_LOG_DBG, __VA_ARGS__)
     239#define AUBIO_DBG(...)               aubio_log(AUBIO_LOG_DBG, __VA_ARGS__)
    240240#define AUBIO_WRN(...)               aubio_log(AUBIO_LOG_WRN, "AUBIO WARNING: " __VA_ARGS__)
    241241#else
     
    243243#define AUBIO_INF(format, args...)   aubio_log(AUBIO_LOG_INF, "AUBIO INFO: " format , ##args)
    244244#define AUBIO_MSG(format, args...)   aubio_log(AUBIO_LOG_MSG, format , ##args)
    245 #define _AUBIO_DBG(format, args...)  aubio_log(AUBIO_LOG_DBG, format , ##args)
     245#define AUBIO_DBG(format, args...)   aubio_log(AUBIO_LOG_DBG, format , ##args)
    246246#define AUBIO_WRN(format, args...)   aubio_log(AUBIO_LOG_WRN, "AUBIO WARNING: " format, ##args)
    247 #endif
    248 
    249 #ifdef DEBUG
    250 #define AUBIO_DBG _AUBIO_DBG
    251 #else
    252 // disable debug output
    253 #ifdef HAVE_C99_VARARGS_MACROS
    254 #define AUBIO_DBG(...)               {}
    255 #else
    256 #define AUBIO_DBG(format, args...)   {}
    257 #endif
    258247#endif
    259248
  • wscript

    r3a83821 r08d07ce  
    4646                    ' or without (--build-type=debug)' \
    4747                    ' compiler opimizations [default: release]')
    48     ctx.add_option('--debug', action = 'store_const',
    49             dest = 'build_type', const = 'debug',
    50             help = 'build in debug mode (see --build-type)')
    5148    add_option_enable_disable(ctx, 'fftw3f', default = False,
    5249            help_str = 'compile with fftw3f instead of ooura (recommended)',
Note: See TracChangeset for help on using the changeset viewer.