Skyscraper 2.0
|
#include <soundsystem.h>
Public Member Functions | |
SoundData () | |
~SoundData () | |
void | AddHandle (Sound *handle) |
void | RemoveHandle (Sound *handle) |
int | GetHandleCount () |
void | AddChannel (FMOD::Channel *channel) |
void | RemoveChannel (FMOD::Channel *channel) |
int | GetChannelCount () |
Public Attributes | |
FMOD::Sound * | sound |
std::string | filename |
std::vector< Sound * > | handles |
std::vector< FMOD::Channel * > | channels |
Definition at line 94 of file soundsystem.h.
SBS::SoundData::SoundData | ( | ) |
Definition at line 427 of file soundsystem.cpp.
References sound.
SBS::SoundData::~SoundData | ( | ) |
Definition at line 432 of file soundsystem.cpp.
References sound.
void SBS::SoundData::AddChannel | ( | FMOD::Channel * | channel | ) |
Definition at line 477 of file soundsystem.cpp.
References channels, and GetChannelCount().
Referenced by SBS::SoundSystem::Prepare().
void SBS::SoundData::AddHandle | ( | Sound * | handle | ) |
Definition at line 441 of file soundsystem.cpp.
References GetHandleCount(), and handles.
Referenced by SBS::Sound::Load(), and SBS::Sound::Play().
|
inline |
Definition at line 104 of file soundsystem.h.
Referenced by AddChannel(), Skyscraper::SoundManager::Loop(), and RemoveChannel().
|
inline |
Definition at line 100 of file soundsystem.h.
Referenced by AddHandle(), Skyscraper::SoundManager::BuildHandleList(), and RemoveHandle().
void SBS::SoundData::RemoveChannel | ( | FMOD::Channel * | channel | ) |
Definition at line 492 of file soundsystem.cpp.
References channels, and GetChannelCount().
Referenced by SBS::Sound::IsValid(), and RemoveHandle().
void SBS::SoundData::RemoveHandle | ( | Sound * | handle | ) |
Definition at line 456 of file soundsystem.cpp.
References SBS::Sound::GetChannel(), GetHandleCount(), handles, and RemoveChannel().
Referenced by SBS::Sound::Unload().
std::vector<FMOD::Channel*> SBS::SoundData::channels |
Definition at line 112 of file soundsystem.h.
Referenced by AddChannel(), and RemoveChannel().
std::string SBS::SoundData::filename |
Definition at line 109 of file soundsystem.h.
Referenced by Skyscraper::SoundManager::BuildSoundList(), and SBS::SoundSystem::Load().
std::vector<Sound*> SBS::SoundData::handles |
Definition at line 110 of file soundsystem.h.
Referenced by AddHandle(), Skyscraper::SoundManager::BuildHandleList(), Skyscraper::SoundManager::Loop(), and RemoveHandle().
FMOD::Sound* SBS::SoundData::sound |
Definition at line 108 of file soundsystem.h.
Referenced by SBS::SoundSystem::GetLength(), SBS::SoundSystem::Load(), SBS::SoundSystem::Prepare(), SoundData(), and ~SoundData().