Changeset 9e58e78 for tests/src/io


Ignore:
Timestamp:
Jan 19, 2014, 2:03:34 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:
f1100a4
Parents:
94b16e89
Message:

tests/src/io/test-sink_apple_audio.c: use aubio_source

File:
1 edited

Legend:

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

    r94b16e89 r9e58e78  
    2727
    2828  fvec_t *vec = new_fvec(hop_size);
    29   aubio_source_apple_audio_t *i = new_aubio_source_apple_audio(source_path, samplerate, hop_size);
    30   if (samplerate == 0 ) samplerate = aubio_source_apple_audio_get_samplerate(i);
     29  aubio_source_t *i = new_aubio_source(source_path, samplerate, hop_size);
     30  if (samplerate == 0 ) samplerate = aubio_source_get_samplerate(i);
    3131  aubio_sink_apple_audio_t *o = new_aubio_sink_apple_audio(sink_path, samplerate);
    3232
     
    3434
    3535  do {
    36     aubio_source_apple_audio_do(i, vec, &read);
     36    aubio_source_do(i, vec, &read);
    3737    aubio_sink_apple_audio_do(o, vec, read);
    3838    n_frames += read;
     
    4343
    4444beach:
    45   del_aubio_source_apple_audio(i);
     45  del_aubio_source(i);
    4646  del_aubio_sink_apple_audio(o);
    4747  del_fvec(vec);
Note: See TracChangeset for help on using the changeset viewer.