o->eof = 0;
if (o->opened == 1 && o->playing) {
aubio_sampler_read(o, output, read);
- //AUBIO_WRN("sampler: _read got %d\n", *read);
- if (*read < o->blocksize) {
- if (*read > 0 && o->loop) {
- // TODO pull (hopsize - read) frames
- }
- }
} else {
fvec_zeros(output);
*read = 0;
o->eof = 0;
if (o->opened == 1 && o->playing) {
//aubio_sampler_read_multi(o, output, read);
- if (*read < o->blocksize) {
- if (*read > 0) {
- // TODO pull (hopsize - read) frames
- //memset(... tail , 0)
- }
- }
} else {
fmat_zeros(output);
*read = 0;