Changeset 21234ee for src/lvec.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/lvec.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 _ LVEC_H22 #define _ LVEC_H21 #ifndef _AUBIO__LVEC_H 22 #define _AUBIO__LVEC_H 23 23 24 24 #ifdef __cplusplus … … 58 58 */ 59 59 void del_lvec(lvec_t *s); 60 60 61 /** read sample value in a buffer 61 62 Note that this function is not used in the aubio library, since the same63 result can be obtained using vec->data[position]. Its purpose is to64 access these values from wrappers, as created by swig.65 62 66 63 \param s vector to read from … … 68 65 69 66 */ 70 lsmp_t lvec_read_sample(lvec_t *s, uint_t position); 67 lsmp_t lvec_get_sample(lvec_t *s, uint_t position); 68 71 69 /** write sample value in a buffer 72 73 Note that this function is not used in the aubio library, since the same74 result can be obtained by assigning vec->data[position]. Its purpose75 is to access these values from wrappers, as created by swig.76 70 77 71 \param s vector to write to … … 80 74 81 75 */ 82 void lvec_ write_sample(lvec_t *s, lsmp_t data, uint_t position);76 void lvec_set_sample(lvec_t *s, lsmp_t data, uint_t position); 83 77 84 78 /** read data from a buffer 85 86 Note that this function is not used in the aubio library, since the same87 result can be obtained with vec->data. Its purpose is to access these values88 from wrappers, as created by swig.89 79 90 80 \param s vector to read from … … 106 96 107 97 */ 108 void lvec_set (lvec_t *s, smpl_t val);98 void lvec_set_all(lvec_t *s, smpl_t val); 109 99 110 100 /** set all elements to zero … … 126 116 #endif 127 117 128 #endif /* _ LVEC_H */118 #endif /* _AUBIO__LVEC_H */
Note: See TracChangeset
for help on using the changeset viewer.