Changeset 1274e9f for ext/jackio.h
- Timestamp:
- Sep 25, 2009, 5:17:19 AM (15 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:
- 58779e3
- Parents:
- e4d0f8f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ext/jackio.h
re4d0f8f r1274e9f 1 1 /* 2 Copyright (C) 2003 Paul Brossier2 Copyright (C) 2003-2009 Paul Brossier <piem@aubio.org> 3 3 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. 4 This file is part of aubio. 8 5 9 This program is distributed in the hope that it will be useful,10 but WITHOUT ANY WARRANTY; without even the implied warranty of11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12 GNU General Public License for more details.6 aubio is free software: you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation, either version 3 of the License, or 9 (at your option) any later version. 13 10 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. 11 aubio is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with aubio. If not, see <http://www.gnu.org/licenses/>. 17 18 18 19 */ … … 29 30 30 31 #ifdef __cplusplus 31 extern "C" { 32 extern "C" 33 { 32 34 #endif 33 35 … … 35 37 typedef struct _aubio_jack_t aubio_jack_t; 36 38 /** jack process function */ 37 typedef int (*aubio_process_func_t) (smpl_t **input,38 smpl_t ** output, int nframes);39 typedef int (*aubio_process_func_t) (smpl_t ** input, 40 smpl_t ** output, int nframes); 39 41 40 42 /** jack device creation function */ 41 aubio_jack_t * 43 aubio_jack_t *new_aubio_jack (uint_t inchannels, uint_t outchannels, 42 44 aubio_process_func_t callback); 43 45 /** activate jack client (run jackprocess function) */ 44 uint_t aubio_jack_activate (aubio_jack_t *jack_setup);46 uint_t aubio_jack_activate (aubio_jack_t * jack_setup); 45 47 /** close and delete jack client */ 46 void aubio_jack_close (aubio_jack_t *jack_setup);48 void aubio_jack_close (aubio_jack_t * jack_setup); 47 49 48 50 #ifdef __cplusplus … … 50 52 #endif 51 53 52 #endif /* JACKIO_H */54 #endif /* JACKIO_H */
Note: See TracChangeset
for help on using the changeset viewer.