SAL
A C++ library for spatial audio.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
saltypes.h
Go to the documentation of this file.
1 /*
2  saltypes.h
3  Spatial Audio Library (SAL)
4  Copyright (c) 2011, Enzo De Sena
5  All rights reserved.
6 
7  Authors: Enzo De Sena, enzodesena@gmail.com
8 
9  This file contains several types, macros and supporting classes definitions.
10 
11  */
12 
13 #ifndef SAL_TYPES_H
14 #define SAL_TYPES_H
15 
16 #include <vector>
17 #include "mcltypes.h"
18 
19 
20 namespace sal {
21 
22 typedef mcl::Real Sample;
23 typedef mcl::Real Time;
24 typedef mcl::Real Speed;
25 typedef mcl::Real Length;
26 typedef mcl::Real Angle;
27 typedef mcl::Int UInt;
28 typedef mcl::Int Int;
29 
30 
31 typedef std::vector<Sample> Signal;
32 
33 struct StereoSignal {
36 };
37 
38 
39 enum Ear {
42 };
43 
44 
45 enum class InterpolationType {
46  kRounding,
47  kLinear,
50 };
51 
52 
53 
54 } // namespace sal
55 
56 
57 
58 
59 #endif