TSAGE: Sound is now working!

This commit is contained in:
Paul Gilbert 2011-06-20 21:30:20 +10:00
parent c22f824bed
commit 7c733a538c
2 changed files with 1 additions and 9 deletions

View File

@ -51,8 +51,6 @@ SoundManager::SoundManager() {
_needToRethink = false;
_soTimeIndexFlag = false;
_updateTicksCounter = 0;
_eventsDelay = GAME_FRAME_TIME;
}
SoundManager::~SoundManager() {
@ -117,11 +115,7 @@ void SoundManager::syncSounds() {
}
void SoundManager::update() {
++_updateTicksCounter;
if (_updateTicksCounter > _eventsDelay) {
_sfSoundServer();
_updateTicksCounter = 0;
}
}
Common::List<SoundDriverEntry> &SoundManager::buildDriverList(bool detectFlag) {

View File

@ -177,8 +177,6 @@ public:
Common::List<Sound *> _soundList;
Common::List<SoundDriverEntry> _availableDrivers;
bool _needToRethink;
int _updateTicksCounter;
int _eventsDelay;
// Misc flags
bool _soTimeIndexFlag;
public: