|
3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
|
Instances and handles audio device handles. More...
#include <IAudioEngine.hpp>


Public Member Functions | |
| virtual void | SwitchAudioDevice (const std::string &deviceName)=0 |
| Switches the audio device to the specified device name. If the device name is invalid, it will throw an exception. | |
| virtual void | Update () noexcept=0 |
| Syncronises the listener with the audio engine. | |
| virtual std::optional< AudioError > | CheckErrors ()=0 |
| Returns the last audio engine error. | |
| ~IAudioEngine () override=default | |
| Public Member Functions inherited from Engine3DRadSpace.IService | |
| IGame * | GetOwner () const noexcept |
| Gets the owner of this instance. | |
| virtual | ~IService ()=default |
Public Attributes | |
| class Listener | Listener |
| Specifies the listener for this audio engine. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Engine3DRadSpace.IService | |
| IService () | |
| IService (IGame *owner) | |
| IService (const IService &)=delete | |
| IService & | operator= (const IService &)=delete |
| IService (IService &&) noexcept=default | |
| IService & | operator= (IService &&) noexcept=default |
| Protected Attributes inherited from Engine3DRadSpace.IService | |
| IGame * | _owner = nullptr |
| Properties inherited from Engine3DRadSpace.IService | |
| IGame | Owner [get] |
Instances and handles audio device handles.
|
overridedefault |
|
pure virtual |
Returns the last audio engine error.
Implemented in Engine3DRadSpace.Audio.AudioEngine, and Engine3DRadSpace.Audio.AudioEngine.
|
pure virtual |
Switches the audio device to the specified device name. If the device name is invalid, it will throw an exception.
| deviceName |
Implemented in Engine3DRadSpace.Audio.AudioEngine.
|
pure virtualnoexcept |
Syncronises the listener with the audio engine.
Implemented in Engine3DRadSpace.Audio.AudioEngine, and Engine3DRadSpace.Audio.AudioEngine.
| class Listener Engine3DRadSpace.Audio::IAudioEngine::Listener |
Specifies the listener for this audio engine.