Changeset e8359d7


Ignore:
Timestamp:
Jul 12, 2006, 6:20:14 PM (18 years ago)
Author:
Paul Brossier <piem@altern.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:
0d439322
Parents:
e8e2b72
Message:

update scale deletion function
update scale deletion function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/scale.c

    re8e2b72 re8359d7  
    3636};
    3737
    38 static aubio_scale_t * aubio_scale_malloc(void);
    39 static void aubio_scale_free(aubio_scale_t * s);
    40 
    41 aubio_scale_t * aubio_scale_malloc() {
     38aubio_scale_t * new_aubio_scale (smpl_t ilow, smpl_t ihig, smpl_t olow, smpl_t ohig     ){
    4239        aubio_scale_t * s = AUBIO_NEW(aubio_scale_t);
    43         return s;
    44 }
    45 
    46 void aubio_scale_free(aubio_scale_t * s) {
    47         AUBIO_FREE(s);
    48 }
    49 
    50 aubio_scale_t * new_aubio_scale (smpl_t ilow, smpl_t ihig, smpl_t olow, smpl_t ohig     ){
    51         aubio_scale_t * s = aubio_scale_malloc();
    5240        aubio_scale_set (s, ilow, ihig, olow, ohig);
    5341        return s;       
     
    5543
    5644void del_aubio_scale(aubio_scale_t *s) {
    57         aubio_scale_free(s);
     45        AUBIO_FREE(s);
    5846}
    5947
Note: See TracChangeset for help on using the changeset viewer.