qm-dsp  1.8
segment.h
Go to the documentation of this file.
1 #ifndef _SEGMENT_H
2 #define _SEGMENT_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 /*
9  * segment.h
10  *
11  * Created by Mark Levy on 06/04/2006.
12  * Copyright 2006 Centre for Digital Music, Queen Mary, University of London.
13 
14  This program is free software; you can redistribute it and/or
15  modify it under the terms of the GNU General Public License as
16  published by the Free Software Foundation; either version 2 of the
17  License, or (at your option) any later version. See the file
18  COPYING included with this distribution for more information.
19  *
20  */
21 
22 typedef struct segment_t
23 {
24  long start; /* in samples */
25  long end;
26  int type;
27 } segment_t;
28 
29 typedef struct segmentation_t
30 {
31  int nsegs; /* number of segments */
32  int nsegtypes; /* number of segment types, so possible types are {0,1,...,nsegtypes-1} */
36 
37 typedef enum
38 {
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif
50 
long start
Definition: segment.h:24
int samplerate
Definition: segment.h:33
struct segment_t segment_t
struct segmentation_t segmentation_t
feature_types
Definition: segment.h:37
long end
Definition: segment.h:25
segment_t * segments
Definition: segment.h:34
int nsegtypes
Definition: segment.h:32
int type
Definition: segment.h:26