Changeset 21234ee for src/lvec.h


Ignore:
Timestamp:
Dec 18, 2013, 8:07:27 AM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
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.
Message:

Merge branch 'master' of aubio.org:/git/aubio/aubio into develop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lvec.h

    r1573b16 r21234ee  
    11/*
    2   Copyright (C) 2003-2009 Paul Brossier <piem@aubio.org>
     2  Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org>
    33
    44  This file is part of aubio.
     
    1919*/
    2020
    21 #ifndef _LVEC_H
    22 #define _LVEC_H
     21#ifndef _AUBIO__LVEC_H
     22#define _AUBIO__LVEC_H
    2323
    2424#ifdef __cplusplus
     
    5858*/
    5959void del_lvec(lvec_t *s);
     60
    6061/** read sample value in a buffer
    61 
    62   Note that this function is not used in the aubio library, since the same
    63   result can be obtained using vec->data[position]. Its purpose is to
    64   access these values from wrappers, as created by swig.
    6562
    6663  \param s vector to read from
     
    6865
    6966*/
    70 lsmp_t lvec_read_sample(lvec_t *s, uint_t position);
     67lsmp_t lvec_get_sample(lvec_t *s, uint_t position);
     68
    7169/** write sample value in a buffer
    72 
    73   Note that this function is not used in the aubio library, since the same
    74   result can be obtained by assigning vec->data[position]. Its purpose
    75   is to access these values from wrappers, as created by swig.
    7670
    7771  \param s vector to write to
     
    8074
    8175*/
    82 void  lvec_write_sample(lvec_t *s, lsmp_t data, uint_t position);
     76void  lvec_set_sample(lvec_t *s, lsmp_t data, uint_t position);
    8377
    8478/** read data from a buffer
    85 
    86   Note that this function is not used in the aubio library, since the same
    87   result can be obtained with vec->data. Its purpose is to access these values
    88   from wrappers, as created by swig.
    8979
    9080  \param s vector to read from
     
    10696
    10797*/
    108 void lvec_set(lvec_t *s, smpl_t val);
     98void lvec_set_all(lvec_t *s, smpl_t val);
    10999
    110100/** set all elements to zero
     
    126116#endif
    127117
    128 #endif /* _LVEC_H */
     118#endif /* _AUBIO__LVEC_H */
Note: See TracChangeset for help on using the changeset viewer.