Class AudioSystem¶
Defined in File audio_system.h
Inheritance Relationships¶
Base Type¶
public System(Class System)
Class Documentation¶
-
class
AudioSystem: public System¶ Audio System responsible for streaming and static audio.
Public Functions
-
AudioListenerComponent *
getListener() const¶
-
void
setListener(AudioListenerComponent *listenerComponent)¶
-
void
restoreListener()¶
-
bool
initialize(const JSON::json &systemData)¶
-
void
setConfig(const SceneSettings &sceneSettings)¶
-
void
shutDown()¶
-
void
update(float deltaMilliseconds)¶
-
void
begin()¶
-
void
end()¶
Public Static Functions
-
static AudioSystem *
GetSingleton()¶
-
static void
CheckALError(const char *msg, const char *fname, int line)¶ Wrapper over alGetError function.
-
static void
CheckALCError(const char *msg, const char *fname, int line)¶ Wrapper over alcGetError function.
-
static void
CheckALUTError(const char *msg, const char *fname, int line)¶ Wrapper over alutGetError function.
-
AudioListenerComponent *