ST_engine  0.3-ALPHA
Public Member Functions | Friends | List of all members
audio_manager Class Reference

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
 

Detailed Description

This object is responsible for playing sounds and music.

Definition at line 19 of file audio_manager.hpp.

Constructor & Destructor Documentation

◆ audio_manager()

audio_manager::audio_manager ( task_manager gTask_manager,
message_bus gMessageBus 
)

Initializes the audio subsystem. Allocates audio channels.

Parameters
msg_busA pointer to the global message bus.
tsk_mngrA pointer to the global task manager.

Definition at line 30 of file audio_manager.cpp.

◆ ~audio_manager()

audio_manager::~audio_manager ( )

Closes the audio subsystem.

Definition at line 254 of file audio_manager.cpp.

Member Function Documentation

◆ update()

void audio_manager::update ( )

Starts the update_task() method using the task manager.

Definition at line 147 of file audio_manager.cpp.


The documentation for this class was generated from the following files: