LibXtract 1.6.0
xtract_types.h
1/* Part of LibXtract
2 *
3 * SPDX-FileCopyrightText: 2006 Jamie Bullock
4 * SPDX-License-Identifier: Zlib
5 */
6
7/* \file xtract_types.h: declares specialised variable types used by libxtract */
8
9#ifndef XTRACT_TYPES_H
10#define XTRACT_TYPES_H
11
12#ifdef __cplusplus
13extern "C"
14{
15#endif
16
17 /* \brief Data structure used to store amplitude data between calls to xtract_attack_time and other functions. */
18 typedef struct _xtract_amp_tracker
19 {
20 int count;
21 double previous_amp;
22 } xtract_amp_tracker;
23
24 typedef struct _xtract_frame_tracker
25 {
26 int frame_count;
27 double *previous_frame;
28 } xtract_frame_tracker;
29
30#ifdef __cplusplus
31}
32#endif
33
34#endif
Definition xtract_types.h:19
Definition xtract_types.h:25