- Timestamp:
- Nov 3, 2007, 1:23:35 PM (17 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:
- 01af943
- Parents:
- d6f515d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/aubio_priv.h
rd6f515d r55e030d 1 1 /* 2 Copyright (C) 2003Paul Brossier2 Copyright (C) 2003-2007 Paul Brossier 3 3 4 5 6 7 4 This program is free software; you can redistribute it and/or modify 5 it under the terms of the GNU General Public License as published by 6 the Free Software Foundation; either version 2 of the License, or 7 (at your option) any later version. 8 8 9 10 11 12 9 This program is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 GNU General Public License for more details. 13 13 14 15 16 17 14 You should have received a copy of the GNU General Public License 15 along with this program; if not, write to the Free Software 16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 17 18 18 */ 19 19 … … 71 71 72 72 /* Memory management */ 73 #define AUBIO_MALLOC(_n) 74 #define AUBIO_REALLOC(_p,_n) 75 #define AUBIO_NEW(_t) 76 #define AUBIO_ARRAY(_t,_n) 77 #define AUBIO_MEMCPY(_dst,_src,_n) 78 #define AUBIO_MEMSET(_dst,_src,_t) 79 #define AUBIO_FREE(_p) free(_p)73 #define AUBIO_MALLOC(_n) malloc(_n) 74 #define AUBIO_REALLOC(_p,_n) realloc(_p,_n) 75 #define AUBIO_NEW(_t) (_t*)malloc(sizeof(_t)) 76 #define AUBIO_ARRAY(_t,_n) (_t*)malloc((_n)*sizeof(_t)) 77 #define AUBIO_MEMCPY(_dst,_src,_n) memcpy(_dst,_src,_n) 78 #define AUBIO_MEMSET(_dst,_src,_t) memset(_dst,_src,_t) 79 #define AUBIO_FREE(_p) free(_p) 80 80 81 81
Note: See TracChangeset
for help on using the changeset viewer.