if (FCriWareApi::criAtomEx_IsInitialized() == CRI_TRUE) {
float DopplerMultiplier = 1.0f / (DISTANCE_FACTOR * 100);
int32 Num = FAtomListener::GetNumListener();
for (int32 i = 0; i < Num; ++i) {
auto * Listener = FAtomListener::GetListener(i);
if (Listener == nullptr) {
continue;
}
CriAtomEx3dListenerHn Handle = Listener->GetListenerHandle();
FCriWareApi::criAtomEx3dListener_SetDopplerMultiplier(Handle, DopplerMultiplier);
}
FAtomListener::UpdateAllListeners();
}