diff --git a/windows/sound.cpp b/windows/sound.cpp index 5d060aa6..02990851 100755 --- a/windows/sound.cpp +++ b/windows/sound.cpp @@ -372,8 +372,8 @@ int CSound::Init ( const int iNewPrefMonoBufferSize ) // add the input and output latencies (returned in number of // samples) and calculate the time in ms dInOutLatencyMs = - ( static_cast ( lInputLatency ) + lOutputLatency ) / - SYSTEM_SAMPLE_RATE_HZ * 1000; + ( static_cast ( lInputLatency ) + lOutputLatency ) * + 1000 / SYSTEM_SAMPLE_RATE_HZ; } else {