Changeset b1d2be8 for tests


Ignore:
Timestamp:
Apr 25, 2016, 4:31:25 PM (4 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:
2d071ad
Parents:
a41b1ef
Message:

tests/src/io/test-source_apple_audio.c: add _get_duration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/io/test-source_apple_audio.c

    ra41b1ef rb1d2be8  
    3939  fvec_t *vec = new_fvec(hop_size);
    4040
     41  uint_t n_frames_expected = aubio_source_apple_audio_get_duration(s);
     42
    4143  samplerate = aubio_source_apple_audio_get_samplerate(s);
    4244
     
    4749  } while ( read == hop_size );
    4850
    49   PRINT_MSG("read %d frames at %dHz (%d blocks) from %s\n", n_frames, samplerate,
    50     n_frames / hop_size, source_path);
     51  PRINT_MSG("read %d frames (expected %d) at %dHz (%d blocks) from %s\n",
     52            n_frames, n_frames_expected, samplerate, n_frames / hop_size, source_path);
    5153
    5254  del_fvec (vec);
Note: See TracChangeset for help on using the changeset viewer.