Changeset 2c31bb6


Ignore:
Timestamp:
Dec 8, 2013, 5:49:02 PM (6 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:
6bc52cc
Parents:
0a7f424
Message:

examples/utils.c: also print duration in seconds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/utils.c

    r0a7f424 r2c31bb6  
    164164    } while (read == hop_size);
    165165
    166     verbmsg ("read %d samples (%d blocks of %d) from %s at %dHz\n",
     166    verbmsg ("read %.2fs (%d samples in %d blocks of %d) from %s at %dHz\n",
     167        total_read * 1. / samplerate,
    167168        total_read, blocks, hop_size, source_uri, samplerate);
    168169
Note: See TracChangeset for help on using the changeset viewer.