dhewm3/neo
Daniel Gibson 504b572ae4 Update sounds at ~60Hz instead of ~10Hz, fixes #141
For some reason sounds were only updated/started about every 100ms,
which could lead to delays of up to around 100ms after a sound gets
started (with idSoundEmitterLocal::StartSound()) until OpenAL is finally
told to play the sound.
Also, the actual delay drifted over time between 1ms and 100ms, as the
sound ticks weren't a fixed multiple of the (16ms) gameticks - and the
sound updates didn't even happen at the regular 92-94ms intervals they
should because they run in the async thread which only updates every
16ms...
Because of this, the machine gun and other rapid firing weapons sounded
like they shot in bursts or left out shots occasionally, even though
they don't.
Anyway, now sound is updated every 16ms in the async thread so delays
are <= 16ms and hopefully less noticeable.

You can still get the old behavior with com_asyncSound 2 if you want.
2020-07-12 04:43:53 +02:00
..
cm Disable Assertions in Release builds 2018-11-11 23:21:23 +01:00
d3xp Use g_hitEffect CVar variable directly instead of getting it by name 2020-05-30 05:41:22 +02:00
framework Update sounds at ~60Hz instead of ~10Hz, fixes #141 2020-07-12 04:43:53 +02:00
game Use g_hitEffect CVar variable directly instead of getting it by name 2020-05-30 05:41:22 +02:00
idlib ID_MAYBE_INLINE for not-forced inlining 2020-01-11 16:15:34 +01:00
MayaImport s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
renderer Assertions in _alloca() and _alloca16() for too big stack allocations 2020-01-11 16:14:43 +01:00
sound Update sounds at ~60Hz instead of ~10Hz, fixes #141 2020-07-12 04:43:53 +02:00
sys OpenAL: Try to reset disconnected devices, fixes #209 2020-06-01 22:13:41 +02:00
tools Fix ParticleEditor's Materialpicker screwing up ViewPort 2019-03-10 05:23:06 +01:00
TypeInfo Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
ui Fixed SIGSEGV caused to references to already deleted data values in idWindow ops and updateVars 2020-05-30 05:28:40 +02:00
CMakeLists.txt Fix build with CMake < 3.8 by replacing source_group() with stub 2019-04-08 00:59:31 +02:00
config.h.in Introduce CMAKE_INSTALL_PREFIX relative paths 2012-07-04 02:18:42 +02:00
mmakefile.src # move the AROS specific folder icon and default.cfg mmakefile.src under neo/sys/aros/setup 2017-04-22 16:21:14 +02:00