Changeset 1120f86 for src/cvec.c
- Timestamp:
- Apr 21, 2016, 6:21:43 PM (8 years ago)
- 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:
- ae5d58a
- Parents:
- c4d251c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/cvec.c
rc4d251c r1120f86 22 22 #include "cvec.h" 23 23 24 cvec_t * new_cvec( 24 cvec_t * new_cvec(uint_t length) { 25 25 cvec_t * s; 26 26 if ((sint_t)length <= 0) { … … 56 56 } 57 57 58 smpl_t * cvec_norm_get_data (c vec_t *s) {58 smpl_t * cvec_norm_get_data (const cvec_t *s) { 59 59 return s->norm; 60 60 } 61 61 62 smpl_t * cvec_phas_get_data (c vec_t *s) {62 smpl_t * cvec_phas_get_data (const cvec_t *s) { 63 63 return s->phas; 64 64 } … … 66 66 /* helper functions */ 67 67 68 void cvec_print(c vec_t *s) {68 void cvec_print(const cvec_t *s) { 69 69 uint_t j; 70 70 AUBIO_MSG("norm: "); … … 80 80 } 81 81 82 void cvec_copy(c vec_t *s, cvec_t *t) {82 void cvec_copy(const cvec_t *s, cvec_t *t) { 83 83 if (s->length != t->length) { 84 84 AUBIO_ERR("trying to copy %d elements to %d elements \n",
Note: See TracChangeset
for help on using the changeset viewer.