Emergency 20 Dokumentation  4.2.0
em5::multiplayer::client::AudioManager Class Reference

Client side audio manager which handles audio update messages. More...

#include <AudioManager.h>

Inheritance diagram for em5::multiplayer::client::AudioManager:

Public Member Functions

 AudioManager ()
 
bool readAudioUpdateDataFromStream (const qsf::game::BitStream &bitStream)
 Reads audio update data from the given stream. More...
 
void interpolate (const qsf::Clock &clock)
 Is called each tick to apply the read data on a per tick base. More...
 
void setMap (qsf::Map &map)
 
void shutdown ()
 
void handleAudioUpdateData (const AudioUpdateData &data)
 
void applyPlayAudio (qsf::AudioProxy &audioProxy, const AudioUpdateData &data)
 

Detailed Description

Client side audio manager which handles audio update messages.

Constructor & Destructor Documentation

em5::multiplayer::client::AudioManager::AudioManager ( )

Member Function Documentation

void em5::multiplayer::client::AudioManager::applyPlayAudio ( qsf::AudioProxy audioProxy,
const AudioUpdateData data 
)
void em5::multiplayer::client::AudioManager::handleAudioUpdateData ( const AudioUpdateData data)
void em5::multiplayer::client::AudioManager::interpolate ( const qsf::Clock clock)

Is called each tick to apply the read data on a per tick base.

bool em5::multiplayer::client::AudioManager::readAudioUpdateDataFromStream ( const qsf::game::BitStream bitStream)

Reads audio update data from the given stream.

Parameters
[in]bitStreamThe bit stream from which the data is read
Returns
On success "true" otherwise "false"
void em5::multiplayer::client::AudioManager::setMap ( qsf::Map map)
void em5::multiplayer::client::AudioManager::shutdown ( )

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