Changeset 6d509c3 for src/io


Ignore:
Timestamp:
Jan 4, 2014, 2:44:37 AM (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:
4b7747d
Parents:
ac4a6b8
Message:

src/io/source_wavread.c: open file in binary mode for windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_wavread.c

    rac4a6b8 r6d509c3  
    8888  s->hop_size = hop_size;
    8989
    90   s->fid = fopen((const char *)path, "r");
     90  s->fid = fopen((const char *)path, "rb");
    9191  if (!s->fid) {
    9292    AUBIO_ERR("source_wavread: could not open %s (%s)\n", s->path, strerror(errno));
Note: See TracChangeset for help on using the changeset viewer.