Class AudioOptions¶
Namespace: Apogee.Audio
Assembly: Apogee.Audio.dll
How an
public sealed class AudioOptions
Inheritance¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties¶
DistanceFactor¶
Game units per meter. The world is in meters, so one.
public float DistanceFactor { get; init; }
Property Value¶
DopplerScale¶
Scales the Doppler effect (1 is physical).
public float DopplerScale { get; init; }
Property Value¶
Output¶
public AudioOutput Output { get; init; }
Property Value¶
RolloffScale¶
Scales how fast sound fades with distance (1 is the inverse-distance rolloff).
public float RolloffScale { get; init; }
Property Value¶
SampleRate¶
The mixing rate. A device that cannot do it mixes at its own.
public int SampleRate { get; init; }
Property Value¶
WavPath¶
The WAV file for
public string? WavPath { get; init; }