Changeset 21234ee for examples/utils.c
- Timestamp:
- Dec 18, 2013, 8:07:27 AM (11 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:
- 6465d7f
- Parents:
- 1573b16 (diff), c3c6305 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/utils.c
r1573b16 r21234ee 84 84 this_source = new_aubio_source ((char_t*)source_uri, samplerate, hop_size); 85 85 if (this_source == NULL) { 86 outmsg ("Could not open input file %s\n", source_uri);86 errmsg ("Error: could not open input file %s\n", source_uri); 87 87 exit (1); 88 88 } … … 93 93 uint_t sink_exists = (access(sink_uri, F_OK) == 0 ); 94 94 if (!force_overwrite && sink_exists) { 95 outmsg ("Output file %s already exists, use -f to overwrite.\n",95 errmsg ("Error: output file %s already exists, use -f to overwrite.\n", 96 96 sink_uri); 97 97 exit (1); … … 99 99 this_sink = new_aubio_sink ((char_t*)sink_uri, samplerate); 100 100 if (this_sink == NULL) { 101 outmsg ("Could not openoutput file %s\n", sink_uri);101 errmsg ("Error: could not create output file %s\n", sink_uri); 102 102 exit (1); 103 103 }
Note: See TracChangeset
for help on using the changeset viewer.