*/
fvec_t * new_fvec(uint_t length);
+
/** fvec_t buffer deletion function
\param s buffer to delete as returned by new_fvec()
*/
void del_fvec(fvec_t *s);
+
/** read sample value in a buffer
Note that this function is not used in the aubio library, since the same
\param position sample position to read from
*/
-smpl_t fvec_read_sample(fvec_t *s, uint_t position);
+smpl_t fvec_get_sample(fvec_t *s, uint_t position);
+
/** write sample value in a buffer
Note that this function is not used in the aubio library, since the same
\param position sample position to write to
*/
-void fvec_write_sample(fvec_t *s, smpl_t data, uint_t position);
+void fvec_set_sample(fvec_t *s, smpl_t data, uint_t position);
/** read data from a buffer
\param val value to set elements to
*/
-void fvec_set(fvec_t *s, smpl_t val);
+void fvec_set_all (fvec_t *s, smpl_t val);
/** set all elements to zero