Changeset e8359d7
- Timestamp:
- Jul 12, 2006, 6:20:14 PM (18 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:
- 0d439322
- Parents:
- e8e2b72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/scale.c
re8e2b72 re8359d7 36 36 }; 37 37 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() { 38 aubio_scale_t * new_aubio_scale (smpl_t ilow, smpl_t ihig, smpl_t olow, smpl_t ohig ){ 42 39 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();52 40 aubio_scale_set (s, ilow, ihig, olow, ohig); 53 41 return s; … … 55 43 56 44 void del_aubio_scale(aubio_scale_t *s) { 57 aubio_scale_free(s);45 AUBIO_FREE(s); 58 46 } 59 47
Note: See TracChangeset
for help on using the changeset viewer.