Changeset 3a83821
- Timestamp:
- Jul 1, 2020, 8:08:51 PM (4 years ago)
- Branches:
- feature/cnn, feature/crepe, fix/ffmpeg5, master
- Children:
- 4c9aa80
- Parents:
- 08d07ce (diff), eadb7f6 (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:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/develop.rst
r08d07ce r3a83821 93 93 .. literalinclude:: ../tests/src/io/test-source.c 94 94 :language: C 95 :lines: 2 2-24, 30-32,3495 :lines: 24-26, 30, 32-34 96 96 97 97 .. note:: … … 103 103 .. literalinclude:: ../tests/src/io/test-source.c 104 104 :language: C 105 :lines: 4 0-44105 :lines: 41-45 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 6111 :lines: 55-58 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 0-37129 :lines: 27-44 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: 39-44135 :lines: 47-50 136 136 137 137 See the complete example: :download:`test-phasevoc.c -
examples/parse_args.h
r08d07ce r3a83821 26 26 27 27 extern int verbose; 28 extern int quiet; 28 29 // input / output 29 30 extern int usejack; … … 128 129 #endif /* defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH) */ 129 130 #endif /* defined(PROG_HAS_JACK) && defined(HAVE_JACK) */ 131 " -q --quiet be quiet\n" 130 132 " -v --verbose be verbose\n" 131 133 " -h --help display this message\n" … … 142 144 { 143 145 #ifdef HAVE_GETOPT_H 144 const char *options = "hv "146 const char *options = "hvq" 145 147 "i:r:B:H:" 146 148 #ifdef PROG_HAS_JACK … … 174 176 {"help", 0, NULL, 'h'}, 175 177 {"verbose", 0, NULL, 'v'}, 178 {"quiet", 0, NULL, 'q'}, 176 179 {"input", 1, NULL, 'i'}, 177 180 {"samplerate", 1, NULL, 'r'}, … … 227 230 verbose = 1; 228 231 break; 232 case 'q': /* quiet */ 233 quiet = 1; 234 break; 229 235 case 'j': 230 236 usejack = 1; -
examples/utils.c
r08d07ce r3a83821 33 33 34 34 int verbose = 0; 35 int quiet = 0; 35 36 int usejack = 0; 36 37 // input / output … … 170 171 process_func (input_buffer, output_buffer); 171 172 // print to console if verbose or no output given 172 if ( verbose || sink_uri == NULL) {173 if ((verbose || sink_uri == NULL) && !quiet) { 173 174 print(); 174 175 } -
scripts/get_waf.sh
r08d07ce r3a83821 49 49 popd 50 50 51 cp -prv $WAFBUILDDIR/waf-$WAFVERSION/waf $PWD51 cp -prv $WAFBUILDDIR/waf-$WAFVERSION/waf "$PWD" 52 52 chmod +x waf 53 53 -
src/aubio_priv.h
r08d07ce r3a83821 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 #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 247 258 #endif 248 259 -
wscript
r08d07ce r3a83821 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)') 48 51 add_option_enable_disable(ctx, 'fftw3f', default = False, 49 52 help_str = 'compile with fftw3f instead of ooura (recommended)',
Note: See TracChangeset
for help on using the changeset viewer.