We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fc73c7 commit a72e625Copy full SHA for a72e625
src/engine/audio/private/snd_dma.cpp
@@ -70,7 +70,7 @@ extern IVideoServices *g_pVideo;
70
#define DIST_MULT_TO_SNDLVL( dist_mult ) (soundlevel_t)(int)( dist_mult ? ( 20 * log10( pow( 10.0f, snd_refdb.GetFloat() / 20 ) / (dist_mult * snd_refdist.GetFloat()) ) ) : 0 )
71
72
#if !defined( _X360 )
73
-#define THREADED_MIX_TIME 0.01
+#define THREADED_MIX_TIME 0.015
74
#else
75
#define THREADED_MIX_TIME XMA_POLL_RATE * 0.001
76
#endif
@@ -6829,7 +6829,7 @@ void S_Update_Thread()
6829
6830
// mimic a frametime needed for sound update
6831
const double t1 = Plat_FloatTime();
6832
- frameTime = t1 - tf;
+ frameTime = t1 - t0;
6833
6834
if ( snd_ShowThreadFrameTime.GetBool() )
6835
{
0 commit comments