AudioFormat.BitsPerSample Property (Microsoft.Xna.Framework.Content.Pipeline.Audio)
Gets the bit depth 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 BitsPerSample { 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 bit depth; otherwise, the bit depth of the new format.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop