synthclone  0.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
types.h
Go to the documentation of this file.
1 /*
2  * libsynthclone - a plugin API for `synthclone`
3  * Copyright (C) 2011 Devin Anderson
4  *
5  * This library is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU Lesser General Public License as published by the
7  * Free Software Foundation; either version 2.1 of the License, or (at your
8  * option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
13  * for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this library; if not, write to the Free Software Foundation,
17  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #ifndef __SYNTHCLONE_TYPES_H__
21 #define __SYNTHCLONE_TYPES_H__
22 
23 #include <QtCore/QMetaType>
24 #include <QtCore/QtGlobal>
25 
26 namespace synthclone {
27 
32  enum ControlType {
38  };
39 
44  enum Menu {
48  MENU_HELP = 3,
51  MENU_VIEW = 6,
53  };
54 
59  typedef quint8 MIDIData;
60 
67 
72  typedef quint16 SampleChannelCount;
73 
79 
85 
90  typedef qint64 SampleFrameCount;
91 
96  typedef quint32 SampleRate;
97 
105 
115  const SampleRate SAMPLE_RATE_MAXIMUM = 2147483647;
116 
121  typedef float SampleTime;
122 
128 
135 
146  };
147 
148 }
149 
150 #endif