Amuse
SurroundProfiles.hpp
1 #ifndef __AMUSE_SURROUNDPROFILES_HPP__
2 #define __AMUSE_SURROUNDPROFILES_HPP__
3 
4 #include "IBackendVoice.hpp"
5 #include "IBackendVoiceAllocator.hpp"
6 #include "Emitter.hpp"
7 
8 namespace amuse
9 {
10 struct ReferenceVector;
11 
14 {
15  static void SetupRefs(float matOut[8], const ChannelMap& map,
16  const Vector3f& listenEmit, const ReferenceVector refs[]);
17 public:
18  static void SetupMatrix(float matOut[8], const ChannelMap& map, AudioChannelSet set,
19  const Vector3f& emitPos, const Vector3f& listenPos,
20  const Vector3f& listenDir, const Vector3f& listenUp);
21 };
22 
23 }
24 
25 #endif // __AMUSE_SURROUNDPROFILES_HPP__