Changeset 8a22fc4 for examples


Ignore:
Timestamp:
Dec 7, 2013, 3:03:59 PM (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:
134cd3a
Parents:
7f2c515
Message:

examples/parse_args.h: only use jack where need be

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/parse_args.h

    r7f2c515 r8a22fc4  
    216216  // if no source, show a message
    217217  if (source_uri == NULL) {
     218#ifdef PROG_HAS_JACK
    218219#if HAVE_JACK
    219220    verbmsg("No input source given, using jack\n");
     
    222223    errmsg("Error: no arguments given (and no available audio input)\n");
    223224    usage ( stderr, 1 );
    224 #endif
     225#endif /* HAVE_JACK */
     226#else
     227    errmsg("Error: no arguments given\n");
     228    usage ( stderr, 1 );
     229#endif /* PROG_HAS_JACK */
    225230  }
    226231
Note: See TracChangeset for help on using the changeset viewer.