From ff81d339ef856b3190396dbbb26e1e42cd41cc71 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 23 Feb 2026 17:24:59 +0100 Subject: [PATCH] Fix missing doppler factor in cooked game with OpenAL backend #3959 --- Source/Engine/Audio/OpenAL/AudioBackendOAL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Audio/OpenAL/AudioBackendOAL.cpp b/Source/Engine/Audio/OpenAL/AudioBackendOAL.cpp index 715ede74f..8795cc6f9 100644 --- a/Source/Engine/Audio/OpenAL/AudioBackendOAL.cpp +++ b/Source/Engine/Audio/OpenAL/AudioBackendOAL.cpp @@ -829,7 +829,6 @@ bool AudioBackendOAL::Base_Init() } // Init - Base_SetDopplerFactor(AudioSettings::Get()->DopplerFactor); alDistanceModel(AL_INVERSE_DISTANCE_CLAMPED); // Default attenuation model int32 clampedIndex = Math::Clamp(activeDeviceIndex, -1, Audio::Devices.Count() - 1); if (clampedIndex == Audio::GetActiveDeviceIndex()) @@ -841,6 +840,7 @@ bool AudioBackendOAL::Base_Init() if (ALC::IsExtensionSupported("AL_SOFT_source_spatialize")) ALC::Features = EnumAddFlags(ALC::Features, FeatureFlags::SpatialMultiChannel); #endif + Base_SetDopplerFactor(AudioSettings::Get()->DopplerFactor); ALC::Inited = true; // Log service info