Changeset 88fc249


Ignore:
Timestamp:
Feb 11, 2013, 4:30:15 AM (12 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:
fc117d0
Parents:
a4bf052
Message:

examples/utils.c: exit if an output file could not be opened

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/utils.c

    ra4bf052 r88fc249  
    210210    if (sink_uri != NULL) {
    211211      this_sink = new_aubio_sink ((char_t*)sink_uri, samplerate);
     212      if (this_sink == NULL) {
     213        outmsg ("Could not open output file %s.\n", sink_uri);
     214        exit (1);
     215      }
    212216    }
    213217  }
Note: See TracChangeset for help on using the changeset viewer.