Changeset c34336e for src/fvec.h


Ignore:
Timestamp:
Dec 17, 2013, 5:13:28 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
941c9f9
Parents:
5d10ac1
Message:

src/fvec.h: clean up fvec api

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/fvec.h

    r5d10ac1 rc34336e  
    7676*/
    7777fvec_t * new_fvec(uint_t length);
     78
    7879/** fvec_t buffer deletion function
    7980
     
    8283*/
    8384void del_fvec(fvec_t *s);
     85
    8486/** read sample value in a buffer
    8587
     
    9294
    9395*/
    94 smpl_t fvec_read_sample(fvec_t *s, uint_t position);
     96smpl_t fvec_get_sample(fvec_t *s, uint_t position);
     97
    9598/** write sample value in a buffer
    9699
     
    104107
    105108*/
    106 void  fvec_write_sample(fvec_t *s, smpl_t data, uint_t position);
     109void  fvec_set_sample(fvec_t *s, smpl_t data, uint_t position);
    107110
    108111/** read data from a buffer
     
    130133
    131134*/
    132 void fvec_set(fvec_t *s, smpl_t val);
     135void fvec_set_all (fvec_t *s, smpl_t val);
    133136
    134137/** set all elements to zero
Note: See TracChangeset for help on using the changeset viewer.