Changeset 2e01060 for tests


Ignore:
Timestamp:
Jan 3, 2014, 11:42:44 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:
2a0a4f1
Parents:
d4791e5
Message:

tests/src/io/test-source*.c: always get samplerate

Location:
tests/src/io
Files:
4 edited

Legend:

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

    rd4791e5 r2e01060  
    3434  fvec_t *vec = new_fvec(hop_size);
    3535
    36   if (samplerate == 0 ) samplerate = aubio_source_get_samplerate(s);
     36  samplerate = aubio_source_get_samplerate(s);
    3737
    3838  do {
  • tests/src/io/test-source_apple_audio.c

    rd4791e5 r2e01060  
    3939  fvec_t *vec = new_fvec(hop_size);
    4040
    41   if (samplerate == 0 ) samplerate = aubio_source_apple_audio_get_samplerate(s);
     41  samplerate = aubio_source_apple_audio_get_samplerate(s);
    4242
    4343  do {
  • tests/src/io/test-source_avcodec.c

    rd4791e5 r2e01060  
    4040  fvec_t *vec = new_fvec(hop_size);
    4141
    42   if (samplerate == 0 ) samplerate = aubio_source_avcodec_get_samplerate(s);
     42  samplerate = aubio_source_avcodec_get_samplerate(s);
    4343
    4444  do {
  • tests/src/io/test-source_sndfile.c

    rd4791e5 r2e01060  
    4040  fvec_t *vec = new_fvec(hop_size);
    4141
    42   if (samplerate == 0 ) samplerate = aubio_source_sndfile_get_samplerate(s);
     42  samplerate = aubio_source_sndfile_get_samplerate(s);
    4343
    4444  do {
Note: See TracChangeset for help on using the changeset viewer.