Changeset 982629c for examples/utils.c


Ignore:
Timestamp:
Jan 31, 2019, 3:24:19 AM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/crepe_org, fix/ffmpeg5, master
Children:
b1ed6ce
Parents:
65a4fb4
Message:

[examples] add quiet mode for performance measurements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/utils.c

    r65a4fb4 r982629c  
    3333
    3434int verbose = 0;
     35int quiet = 0;
    3536int usejack = 0;
    3637// input / output
     
    170171      process_func (input_buffer, output_buffer);
    171172      // print to console if verbose or no output given
    172       if (verbose || sink_uri == NULL) {
     173      if ((verbose || sink_uri == NULL) && !quiet) {
    173174        print();
    174175      }
Note: See TracChangeset for help on using the changeset viewer.