Changeset 21234ee for examples/utils.c


Ignore:
Timestamp:
Dec 18, 2013, 8:07:27 AM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
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.
Message:

Merge branch 'master' of aubio.org:/git/aubio/aubio into develop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/utils.c

    r1573b16 r21234ee  
    8484    this_source = new_aubio_source ((char_t*)source_uri, samplerate, hop_size);
    8585    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);
    8787      exit (1);
    8888    }
     
    9393      uint_t sink_exists = (access(sink_uri, F_OK) == 0 );
    9494      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",
    9696            sink_uri);
    9797        exit (1);
     
    9999      this_sink = new_aubio_sink ((char_t*)sink_uri, samplerate);
    100100      if (this_sink == NULL) {
    101         outmsg ("Could not open output file %s\n", sink_uri);
     101        errmsg ("Error: could not create output file %s\n", sink_uri);
    102102        exit (1);
    103103      }
Note: See TracChangeset for help on using the changeset viewer.