SAL
A C++ library for spatial audio.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
source.h
Go to the documentation of this file.
1 /*
2  source.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  */
10 
11 #ifndef SAL_SOURCE_H
12 #define SAL_SOURCE_H
13 
14 
15 #include "saltypes.h"
16 #include "salutilities.h"
17 #include "point.h"
18 #include <vector>
19 #include "salconstants.h"
20 
21 namespace sal {
22 
23 class Source {
24 public:
25  Source(const mcl::Point&) noexcept;
26 
27  mcl::Point position() const noexcept;
28 
29  void SetPosition(const mcl::Point& position) noexcept;
30 
31 private:
32  Triplet position_;
33 };
34 
35 } // namespace sal
36 
37 #endif