57 ALCdevice* device =
nullptr;
58 ALCcontext* context =
nullptr;
61 std::vector<AudioSource*> sources;
The AudioEngine class manages the audio system.
Definition audioEngine.h:20
AudioListener * getUniqueListener() const
Gets the unique instance of the AudioListener.
Definition audioEngine.cpp:59
~AudioEngine()
Destroys the AudioEngine object.
Definition audioEngine.cpp:29
AudioSource * createAudioSource(const std::string &soundFile, float x, float y, float z)
Creates an AudioSource object with the specified sound file and position.
Definition audioEngine.cpp:45
AudioEngine()
Constructs an AudioEngine object.
Definition audioEngine.cpp:9
AudioListener class to listen to sound effects.
Definition audioListener.h:16
AudioSource class to play sound effects.
Definition audioSource.h:17