Changeset acf7d30 for src/mathutils.c
 Timestamp:
 Oct 2, 2009, 2:10:25 AM (10 years ago)
 Branches:
 feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
 Children:
 1498ced
 Parents:
 c0b295c
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/mathutils.c
rc0b295c racf7d30 86 86 smpl_t fvec_mean(fvec_t *s) { 87 87 uint_t i,j; 88 smpl_t tmp = 0.0 f;88 smpl_t tmp = 0.0; 89 89 for (i=0; i < s>channels; i++) 90 90 for (j=0; j < s>length; j++) … … 95 95 smpl_t fvec_sum(fvec_t *s) { 96 96 uint_t i,j; 97 smpl_t tmp = 0.0 f;97 smpl_t tmp = 0.0; 98 98 for (i=0; i < s>channels; i++) 99 99 for (j=0; j < s>length; j++) … … 104 104 smpl_t fvec_max(fvec_t *s) { 105 105 uint_t i,j; 106 smpl_t tmp = 0.0 f;106 smpl_t tmp = 0.0; 107 107 for (i=0; i < s>channels; i++) 108 108 for (j=0; j < s>length; j++) … … 133 133 uint_t fvec_max_elem(fvec_t *s) { 134 134 uint_t i,j=0, pos=0.; 135 smpl_t tmp = 0.0 f;135 smpl_t tmp = 0.0; 136 136 for (i=0; i < s>channels; i++) 137 137 for (j=0; j < s>length; j++) { … … 144 144 void fvec_shift(fvec_t *s) { 145 145 uint_t i,j; 146 //smpl_t tmp = 0.0 f;146 //smpl_t tmp = 0.0; 147 147 for (i=0; i < s>channels; i++) 148 148 for (j=0; j < s>length / 2 ; j++) {
Note: See TracChangeset
for help on using the changeset viewer.