Ignore:
File:
1 edited

Legend:

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

    r4ca4a4a r05774ba3  
    113113  if (aubio_sink_preset_samplerate(s, samplerate)) return 1;
    114114
     115  if (aubio_sink_get_samplerate(s) != samplerate) return 1;
     116  if (aubio_sink_get_channels(s) != channels) return 1;
     117
    115118  mat = new_fmat(channels, hop_size);
    116119  // check writing a vector with valid length
    117120  aubio_sink_do_multi(s, mat, hop_size);
     121  // check writing 0 frames
     122  aubio_sink_do_multi(s, mat, 0);
    118123  // check writing more than in the input
    119124  aubio_sink_do_multi(s, mat, hop_size+1);
Note: See TracChangeset for help on using the changeset viewer.