Changeset 0a509c6 for examples/utils.c
- Timestamp:
- Dec 8, 2013, 5:51:09 AM (10 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 664fd25
- Parents:
- a93dab3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/utils.c
ra93dab3 r0a509c6 54 54 uint_t mix_input = 0; 55 55 56 uint_t force_overwrite = 0; 57 56 58 // 57 59 // internal memory stuff … … 89 91 } 90 92 if (sink_uri != NULL) { 93 uint_t sink_exists = (access(sink_uri, F_OK) == 0 ); 94 if (!force_overwrite && sink_exists) { 95 outmsg ("Output file %s already exists, use -f to overwrite.\n", 96 sink_uri); 97 exit (1); 98 } 91 99 this_sink = new_aubio_sink ((char_t*)sink_uri, samplerate); 92 100 if (this_sink == NULL) {
Note: See TracChangeset
for help on using the changeset viewer.