DopplerPreset Asset

From COD Engine Research
Jump to: navigation, search

The dopplerpreset asset was added on Ghosts holds information pertaining to how sound changes from an object that is either moving away from, or toward the listener.

struct __declspec(align(8)) DopplerPreset
{
  const char *p_name;
  float speedOfSound;
  float playerVelocityScale;
  float minPitch;
  float maxPitch;
  float smoothing;
};