AudioFormat.SampleRate Property (Microsoft.Xna.Framework.Content.Pipeline.Audio)
Gets the sample rate of the audio content.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Audio
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public int SampleRate { get; }
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Property Value
Type: System.Int32If the audio has not been processed, the source sample rate; otherwise, the new sample rate.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop