|
CeresEngine 0.2.0
A game development framework
|
A system that implements audio playback. More...
#include <CeresEngine/Audio/AudioSystem.hpp>
Public Member Functions | |
| AudioSystem (const AudioAPI &renderer) | |
| Creates a new audio system. | |
| AudioSystem (const AudioSystem &)=delete | |
| AudioSystem & | operator= (const AudioSystem &)=delete |
| void | update (double time) override |
| void | act (Entity &entity, const Play &action) final |
Private Member Functions | |
| void | didAdd (const AudioListener &entity) noexcept final |
A notification dispatched by the SystemManager to a system. | |
| void | didRemove (const AudioListener &entity) noexcept final |
A notification dispatched by the SystemManager to a system. | |
| void | didAdd (const AudioSource &entity) noexcept final |
A notification dispatched by the SystemManager to a system. | |
| void | didRemove (const AudioSource &entity) noexcept final |
A notification dispatched by the SystemManager to a system. | |
Private Attributes | |
| AudioAPIDevicePtr | device |
| The audio renderer system to be used when producing 3D audio. | |
| AudioAPIListenerPtr | listener |
| The renderer default audio listener. | |
A system that implements audio playback.
Creates a new audio system.
| renderer | The audio renderer system to be used when producing 3D audio |
|
delete |
|
finalprivatenoexcept |
A notification dispatched by the SystemManager to a system.
This notification is dispatched once a new entity matching the EO criteria is created (either by creating it or by adding all components required).
| entity | The entity object. |
|
finalprivatenoexcept |
A notification dispatched by the SystemManager to a system.
This notification is dispatched once a new entity matching the EO criteria is created (either by creating it or by adding all components required).
| entity | The entity object. |
|
finalprivatenoexcept |
A notification dispatched by the SystemManager to a system.
This notification is dispatched once an entity that previously matched the EO criteria is destroyed (either by destroying it or by removing one of the required components).
| entity | The entity object. |
|
finalprivatenoexcept |
A notification dispatched by the SystemManager to a system.
This notification is dispatched once an entity that previously matched the EO criteria is destroyed (either by destroying it or by removing one of the required components).
| entity | The entity object. |
|
delete |
|
private |
The audio renderer system to be used when producing 3D audio.
|
private |
The renderer default audio listener.