Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
OpenALSystem.h
Go to the documentation of this file.
1#ifndef ULT_OPENAL_SYSTEM_H_INCLUDED
2#define ULT_OPENAL_SYSTEM_H_INCLUDED
3
4namespace Ult
5{
6
8
14{
15public:
24
28 void SetListenerPosition(const float x, const float y, const float z);
32 void SetListenerVelocity(const float x, const float y, const float z);
37 const float dx, const float dy, const float dz,
38 const float ux, const float uy, const float uz
39 );
40
42 void PlaySound(const OpenALSoundSource& source);
44 void PauseSound(const OpenALSoundSource& source);
46 void StopSound(const OpenALSoundSource& source);
47
49 bool IsInitialized() const { return mInit; }
50
52 void Cleanup();
53private:
54 bool mInit;
55};
56
57} // namespace Ult
58
59#endif // ULT_OPENAL_SYSTEM_H_INCLUDED
60
Definition OpenALSoundSource.h:14
void Cleanup()
Definition OpenALSystem.cpp:27
OpenALSystem()
Definition OpenALSystem.cpp:8
void SetListenerOrientation(const float dx, const float dy, const float dz, const float ux, const float uy, const float uz)
Definition OpenALSystem.cpp:47
void SetListenerPosition(const float x, const float y, const float z)
Definition OpenALSystem.cpp:35
void StopSound(const OpenALSoundSource &source)
Definition OpenALSystem.cpp:69
void SetListenerVelocity(const float x, const float y, const float z)
Definition OpenALSystem.cpp:41
void PauseSound(const OpenALSoundSource &source)
Definition OpenALSystem.cpp:63
bool IsInitialized() const
Definition OpenALSystem.h:49
~OpenALSystem()
Definition OpenALSystem.cpp:22
void PlaySound(const OpenALSoundSource &source)
Definition OpenALSystem.cpp:57
Definition Archive.h:13