shithub: qk1

Download patch

ref: 824606680e4c4dc6b4ddb10cba2d08b2f81f8e25
parent: 0b6a7b46dd0afe2e2b7486c9c540180673d52961
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun Dec 24 22:36:25 EST 2023

openal: increase doppler factor

--- a/unix/snd_openal.c
+++ b/unix/snd_openal.c
@@ -478,6 +478,7 @@
 
 	// assuming 64 Quake units is ~1.7m
 	alSpeedOfSound(343.3 * 64.0 / 1.7); ALERR();
+	alDopplerFactor(2); ALERR();
 
 	if(alIsExtensionPresent("AL_SOFT_source_resampler")){
 		al_default_resampler = alGetInteger(AL_DEFAULT_RESAMPLER_SOFT);