Mercurial > hg > libxtract
annotate xtract/xtract_types.h @ 21:44e1a5363745
Further documentation improvements
author | Jamie Bullock <jamie@postlude.co.uk> |
---|---|
date | Thu, 12 Oct 2006 11:59:11 +0000 |
parents | 819937ea6359 |
children | 450712b21565 |
rev | line source |
---|---|
jamie@1 | 1 /* libxtract feature extraction library |
jamie@1 | 2 * |
jamie@1 | 3 * Copyright (C) 2006 Jamie Bullock |
jamie@1 | 4 * |
jamie@1 | 5 * This program is free software; you can redistribute it and/or modify |
jamie@1 | 6 * it under the terms of the GNU General Public License as published by |
jamie@1 | 7 * the Free Software Foundation; either version 2 of the License, or |
jamie@1 | 8 * (at your option) any later version. |
jamie@1 | 9 * |
jamie@1 | 10 * This program is distributed in the hope that it will be useful, |
jamie@1 | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
jamie@1 | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
jamie@1 | 13 * GNU General Public License for more details. |
jamie@1 | 14 * |
jamie@1 | 15 * You should have received a copy of the GNU General Public License |
jamie@1 | 16 * along with this program; if not, write to the Free Software |
jamie@1 | 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, |
jamie@1 | 18 * USA. |
jamie@1 | 19 */ |
jamie@1 | 20 |
jamie@2 | 21 /* \file xtract_types.h: declares specialised variable types used by libxtract */ |
jamie@1 | 22 |
jamie@1 | 23 #ifndef XTRACT_TYPES |
jamie@1 | 24 #define XTRACT_TYPES |
jamie@1 | 25 |
jamie@1 | 26 #ifdef __cplusplus |
jamie@1 | 27 extern "C" { |
jamie@1 | 28 #endif |
jamie@1 | 29 |
jamie@2 | 30 /* \brief Data structure used to store amplitude data between calls to xtract_attack_time and other functions. */ |
jamie@1 | 31 typedef struct _xtract_amp_tracker { |
jamie@1 | 32 int count; |
jamie@1 | 33 float previous_amp; |
jamie@1 | 34 } xtract_amp_tracker; |
jamie@1 | 35 |
jamie@1 | 36 typedef struct _xtract_frame_tracker { |
jamie@1 | 37 int frame_count; |
jamie@1 | 38 float *previous_frame; |
jamie@1 | 39 } xtract_frame_tracker; |
jamie@1 | 40 |
jamie@1 | 41 #ifdef __cplusplus |
jamie@1 | 42 } |
jamie@1 | 43 #endif |
jamie@1 | 44 |
jamie@1 | 45 #endif |