45 std::shared_ptr<ISound> m_sound;
50 std::shared_ptr<HRTF> m_hrtfs;
55 std::shared_ptr<Source> m_source;
60 std::shared_ptr<ThreadPool> m_threadPool;
65 std::shared_ptr<FFTPlan> m_plan;
81 BinauralSound(std::shared_ptr<ISound> sound, std::shared_ptr<HRTF> hrtfs, std::shared_ptr<Source> source, std::shared_ptr<ThreadPool> threadPool, std::shared_ptr<FFTPlan> plan);
91 BinauralSound(std::shared_ptr<ISound> sound, std::shared_ptr<HRTF> hrtfs, std::shared_ptr<Source> source, std::shared_ptr<ThreadPool> threadPool);
99 std::shared_ptr<HRTF> getHRTFs();
105 void setHRTFs(std::shared_ptr<HRTF> hrtfs);
111 std::shared_ptr<Source> getSource();
117 void setSource(std::shared_ptr<Source> source);
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition: Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:93
This class represents a type of sound source and saves the necessary values for it.
Definition: ISound.h:39
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
virtual std::shared_ptr< IReader > createReader()=0
Creates a reader for playback of the sound source.
This class represents a sound that can sound different depending on its realtive position with the li...
Definition: BinauralSound.h:39