Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified examples/utils.c

    r6f10064 r633fb32  
    2222void save_data (void);
    2323void restore_data(lash_config_t * lash_config);
    24 void flush_process(aubio_process_func_t process_func, aubio_print_func_t print);
    2524pthread_t lash_thread;
    2625#endif /* LASH_SUPPORT */
     
    3433int usejack = 0;
    3534int usedoubled = 1;
    36 int frames_delay = 0;
    3735
    3836
     
    397395
    398396    debug("Processed %d frames of %d samples.\n", frames, buffer_size);
    399 
    400     flush_process(process_func, print);
    401397    del_aubio_sndfile(file);
    402398
     
    407403}
    408404
    409 void flush_process(aubio_process_func_t process_func, aubio_print_func_t print){
    410   uint i,j;
    411   for (i = 0; i < channels; i++) {
    412     for (j = 0; j < obuf->length; j++) {
    413       fvec_write_sample(obuf,0.,i,j);
    414     }
    415   }
    416   for (i = 0; (signed)i < frames_delay; i++) {
    417     process_func(ibuf->data, obuf->data, overlap_size);
    418     print();
    419   }
    420 }
    421405
    422406
Note: See TracChangeset for help on using the changeset viewer.