ST_engine
0.3-ALPHA
|
This object is responsible for playing sounds and music. More...
#include <audio_manager.hpp>
Public Member Functions | |
audio_manager (task_manager &tsk_mngr, message_bus &gMessageBus) | |
~audio_manager () | |
void | update () |
Friends | |
class | audio_manager_test |
This object is responsible for playing sounds and music.
Definition at line 19 of file audio_manager.hpp.
audio_manager::audio_manager | ( | task_manager & | gTask_manager, |
message_bus & | gMessageBus | ||
) |
Initializes the audio subsystem. Allocates audio channels.
msg_bus | A pointer to the global message bus. |
tsk_mngr | A pointer to the global task manager. |
Definition at line 30 of file audio_manager.cpp.
audio_manager::~audio_manager | ( | ) |
Closes the audio subsystem.
Definition at line 254 of file audio_manager.cpp.
void audio_manager::update | ( | ) |
Starts the update_task() method using the task manager.
Definition at line 147 of file audio_manager.cpp.