Changes in / [3a83821:08d07ce]
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/develop.rst
r3a83821 r08d07ce 93 93 .. literalinclude:: ../tests/src/io/test-source.c 94 94 :language: C 95 :lines: 2 4-26, 30, 32-3495 :lines: 22-24, 30-32, 34 96 96 97 97 .. note:: … … 103 103 .. literalinclude:: ../tests/src/io/test-source.c 104 104 :language: C 105 :lines: 4 1-45105 :lines: 40-44 106 106 107 107 At the end of the processing loop, memory is deallocated: … … 109 109 .. literalinclude:: ../tests/src/io/test-source.c 110 110 :language: C 111 :lines: 55-5 8111 :lines: 55-56 112 112 113 113 See the complete example: :download:`test-source.c … … 127 127 .. literalinclude:: ../tests/src/spectral/test-phasevoc.c 128 128 :language: C 129 :lines: 2 7-44129 :lines: 20-37 130 130 131 131 Time to clean up the previously allocated memory: … … 133 133 .. literalinclude:: ../tests/src/spectral/test-phasevoc.c 134 134 :language: C 135 :lines: 47-50135 :lines: 39-44 136 136 137 137 See the complete example: :download:`test-phasevoc.c -
examples/parse_args.h
r3a83821 r08d07ce 26 26 27 27 extern int verbose; 28 extern int quiet;29 28 // input / output 30 29 extern int usejack; … … 129 128 #endif /* defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH) */ 130 129 #endif /* defined(PROG_HAS_JACK) && defined(HAVE_JACK) */ 131 " -q --quiet be quiet\n"132 130 " -v --verbose be verbose\n" 133 131 " -h --help display this message\n" … … 144 142 { 145 143 #ifdef HAVE_GETOPT_H 146 const char *options = "hv q"144 const char *options = "hv" 147 145 "i:r:B:H:" 148 146 #ifdef PROG_HAS_JACK … … 176 174 {"help", 0, NULL, 'h'}, 177 175 {"verbose", 0, NULL, 'v'}, 178 {"quiet", 0, NULL, 'q'},179 176 {"input", 1, NULL, 'i'}, 180 177 {"samplerate", 1, NULL, 'r'}, … … 230 227 verbose = 1; 231 228 break; 232 case 'q': /* quiet */233 quiet = 1;234 break;235 229 case 'j': 236 230 usejack = 1; -
examples/utils.c
r3a83821 r08d07ce 33 33 34 34 int verbose = 0; 35 int quiet = 0;36 35 int usejack = 0; 37 36 // input / output … … 171 170 process_func (input_buffer, output_buffer); 172 171 // print to console if verbose or no output given 173 if ( (verbose || sink_uri == NULL) && !quiet) {172 if (verbose || sink_uri == NULL) { 174 173 print(); 175 174 } -
scripts/get_waf.sh
r3a83821 r08d07ce 49 49 popd 50 50 51 cp -prv $WAFBUILDDIR/waf-$WAFVERSION/waf "$PWD"51 cp -prv $WAFBUILDDIR/waf-$WAFVERSION/waf $PWD 52 52 chmod +x waf 53 53 -
src/aubio_priv.h
r3a83821 r08d07ce 237 237 #define AUBIO_INF(...) aubio_log(AUBIO_LOG_INF, "AUBIO INFO: " __VA_ARGS__) 238 238 #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__) 240 240 #define AUBIO_WRN(...) aubio_log(AUBIO_LOG_WRN, "AUBIO WARNING: " __VA_ARGS__) 241 241 #else … … 243 243 #define AUBIO_INF(format, args...) aubio_log(AUBIO_LOG_INF, "AUBIO INFO: " format , ##args) 244 244 #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) 246 246 #define AUBIO_WRN(format, args...) aubio_log(AUBIO_LOG_WRN, "AUBIO WARNING: " format, ##args) 247 #endif248 249 #ifdef DEBUG250 #define AUBIO_DBG _AUBIO_DBG251 #else252 // disable debug output253 #ifdef HAVE_C99_VARARGS_MACROS254 #define AUBIO_DBG(...) {}255 #else256 #define AUBIO_DBG(format, args...) {}257 #endif258 247 #endif 259 248 -
wscript
r3a83821 r08d07ce 46 46 ' or without (--build-type=debug)' \ 47 47 ' 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)')51 48 add_option_enable_disable(ctx, 'fftw3f', default = False, 52 49 help_str = 'compile with fftw3f instead of ooura (recommended)',
Note: See TracChangeset
for help on using the changeset viewer.