mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
TSAGE: Sound is now working!
This commit is contained in:
parent
c22f824bed
commit
7c733a538c
@ -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) {
|
||||
|
@ -177,8 +177,6 @@ public:
|
||||
Common::List<Sound *> _soundList;
|
||||
Common::List<SoundDriverEntry> _availableDrivers;
|
||||
bool _needToRethink;
|
||||
int _updateTicksCounter;
|
||||
int _eventsDelay;
|
||||
// Misc flags
|
||||
bool _soTimeIndexFlag;
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user