mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-19 08:06:42 +00:00
TONY: Fixed problem with spoken voices being clipped when timed text mode is on.
This commit is contained in:
parent
93e10b5210
commit
bad6ec8388
@ -132,7 +132,7 @@ FPSfx::FPSfx(bool bSoundOn) {
|
||||
_bSoundSupported = bSoundOn;
|
||||
_bFileLoaded = false;
|
||||
_lastVolume = 63;
|
||||
_hEndOfBuffer = CORO_INVALID_PID_VALUE;
|
||||
_hEndOfBuffer = CoroScheduler.createEvent(true, false);
|
||||
_bIsVoice = false;
|
||||
_loopStream = 0;
|
||||
_rewindableStream = 0;
|
||||
@ -161,9 +161,8 @@ FPSfx::~FPSfx() {
|
||||
else
|
||||
delete _rewindableStream;
|
||||
|
||||
// FIXME
|
||||
//if (hEndOfBuffer != CORO_INVALID_PID_VALUE)
|
||||
// CloseHandle(hEndOfBuffer);
|
||||
// Free the buffer end event
|
||||
CoroScheduler.closeEvent(_hEndOfBuffer);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user