24#ifndef _SBS_SOUNDSYSTEM_H
25#define _SBS_SOUNDSYSTEM_H
43 void SetListenerPosition(
const Vector3 &position);
44 void SetListenerDirection(
const Vector3 &front,
const Vector3 &top);
47 void Cleanup(
int index = -1);
49 SoundData* Load(
const std::string &filename);
50 bool IsLoaded(std::string filename);
51 void Report(
const std::string &message);
52 bool ReportError(
const std::string &message);
55 FMOD::System* GetFmodSystem();
57 SoundData* GetSoundData(std::string filename);
59 int GetPlayingCount();
61 void ShowLoadedSounds();
62 void ShowPlayingSounds(
bool verbose =
true);
63 void ShowPlayingTotal();
98 void AddHandle(
Sound *handle);
99 void RemoveHandle(
Sound *handle);
102 void AddChannel(FMOD::Channel *channel);
103 void RemoveChannel(FMOD::Channel *channel);
106 int GetChannelCount() {
return 0; }
std::vector< Reverb > reverbs
Vector3 listener_velocity
Vector3 GetListenerPosition()
Vector3 listener_position
std::vector< SoundData * > sounds
std::vector< FMOD::Channel * > channels
std::vector< Sound * > handles