Changeset 88fc249


Ignore:
Timestamp:
Feb 11, 2013, 4:30:15 AM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, 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.