Esempio n. 1
0
 /// <summary>
 /// Sets the distance-based sound attenuation model. Controls how the gain of sound sources is affected by distance from the listener.
 /// </summary>
 /// <param name="model">Model to apply as the distance sound attenuation model. The default attenuation model is AL_INVERSE_DISTANCE_CLAMPED.</param>
 public void SetLinearDistanceModel(AL_DISTANCE_MODEL model)
 {
     FreeSL.fslSetListenerDistanceModel(model);
 }
Esempio n. 2
0
 internal static extern void fslSetListenerDistanceModel(AL_DISTANCE_MODEL model);