Partilhar via


AudioFormat.BitsPerSample Property

Note

This property is available only when developing for Windows.

Gets the bit depth of the audio content.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Audio
Assembly: (in )

Syntax

public int BitsPerSample { get; }

Property Value

If the audio has not been processed, the source bit depth; otherwise, the bit depth of the new format.

See Also

Reference

AudioFormat Class
AudioFormat Members
Microsoft.Xna.Framework.Content.Pipeline.Audio Namespace

Platforms

Windows 7, Windows Vista, Windows XP