Changeset 21234ee for src/fvec.h
- Timestamp:
- Dec 18, 2013, 8:07:27 AM (10 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:
- 6465d7f
- Parents:
- 1573b16 (diff), c3c6305 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/fvec.h
r1573b16 r21234ee 1 1 /* 2 Copyright (C) 2003-20 09Paul Brossier <piem@aubio.org>2 Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org> 3 3 4 4 This file is part of aubio. … … 19 19 */ 20 20 21 #ifndef _ FVEC_H22 #define _ FVEC_H21 #ifndef _AUBIO__FVEC_H 22 #define _AUBIO__FVEC_H 23 23 24 24 #ifdef __cplusplus … … 76 76 */ 77 77 fvec_t * new_fvec(uint_t length); 78 78 79 /** fvec_t buffer deletion function 79 80 … … 82 83 */ 83 84 void del_fvec(fvec_t *s); 85 84 86 /** read sample value in a buffer 85 86 Note that this function is not used in the aubio library, since the same87 result can be obtained using vec->data[position]. Its purpose is to88 access these values from wrappers, as created by swig.89 87 90 88 \param s vector to read from … … 92 90 93 91 */ 94 smpl_t fvec_read_sample(fvec_t *s, uint_t position); 92 smpl_t fvec_get_sample(fvec_t *s, uint_t position); 93 95 94 /** write sample value in a buffer 96 97 Note that this function is not used in the aubio library, since the same98 result can be obtained by assigning vec->data[position]. Its purpose99 is to access these values from wrappers, as created by swig.100 95 101 96 \param s vector to write to … … 104 99 105 100 */ 106 void fvec_ write_sample(fvec_t *s, smpl_t data, uint_t position);101 void fvec_set_sample(fvec_t *s, smpl_t data, uint_t position); 107 102 108 103 /** read data from a buffer 109 110 Note that this function is not used in the aubio library, since the same111 result can be obtained with vec->data. Its purpose is to access these values112 from wrappers, as created by swig.113 104 114 105 \param s vector to read from … … 130 121 131 122 */ 132 void fvec_set (fvec_t *s, smpl_t val);123 void fvec_set_all (fvec_t *s, smpl_t val); 133 124 134 125 /** set all elements to zero … … 176 167 #endif 177 168 178 #endif /* _ FVEC_H */169 #endif /* _AUBIO__FVEC_H */
Note: See TracChangeset
for help on using the changeset viewer.