calling memset to zero a buffer you are about to fill with audio data is not necessary (removing this from Gob::Snd::readBuffer); removed dead code
svn-id: r25883
This commit is contained in:
parent
b1a12658b0
commit
1c80f2ffa0
3 changed files with 0 additions and 8 deletions
|
@ -61,10 +61,6 @@ void Init::cleanup(void) {
|
|||
_vm->_video->freeSurfDesc(_vm->_global->_pPrimarySurfDesc);
|
||||
_vm->_global->_pPrimarySurfDesc = 0;
|
||||
|
||||
if (_vm->_snd->_cleanupFunc != 0 && _vm->_snd->_playingSound != 0) {
|
||||
(*_vm->_snd->_cleanupFunc) (0);
|
||||
_vm->_snd->_cleanupFunc = 0;
|
||||
}
|
||||
_vm->_snd->speakerOff();
|
||||
|
||||
_vm->_dataio->closeDataFile();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue