Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/io/base-sink_custom.h

    r276032d r05774ba3  
    117117  if (aubio_sink_custom_preset_samplerate(s, samplerate)) return 1;
    118118
     119  if (aubio_sink_custom_get_samplerate(s) != samplerate) return 1;
     120  if (aubio_sink_custom_get_channels(s) != channels) return 1;
     121
    119122  mat = new_fmat(channels, hop_size);
    120123  // check writing a vector with valid length
    121124  aubio_sink_custom_do_multi(s, mat, hop_size);
     125  // check writing 0 frames
     126  aubio_sink_custom_do_multi(s, mat, 0);
    122127  // check writing more than in the input
    123128  aubio_sink_custom_do_multi(s, mat, hop_size+1);
Note: See TracChangeset for help on using the changeset viewer.