Changeset 847b374


Ignore:
Timestamp:
Oct 2, 2009, 12:30:05 AM (15 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:
321eb85
Parents:
f3bee79
Message:

examples/utils.c: use fvec_zeros()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/utils.c

    rf3bee79 r847b374  
    422422{
    423423  uint_t i, j;
    424   for (i = 0; i < channels; i++) {
    425     for (j = 0; j < obuf->length; j++) {
    426       fvec_write_sample (obuf, 0., i, j);
    427     }
    428   }
     424  fvec_zeros(obuf);
    429425  for (i = 0; (signed) i < frames_delay; i++) {
    430426    process_func (ibuf->data, obuf->data, overlap_size);
Note: See TracChangeset for help on using the changeset viewer.