共用方式為


AudioFormat Members

The following tables list the members exposed by the AudioFormat type.

Public Properties

Name Description
Public Property AverageBytesPerSecond Gets the average bytes processed per second.
Public Property BitsPerSample Gets the bit depth of the audio content.
Public Property BlockAlign Gets the number of bytes per sample block, taking channels into consideration.
Public Property ChannelCount Gets the number of channels.
Public Property Format Gets the format of the audio content.
Public Property NativeWaveFormat Gets the raw byte buffer for the format.
Public Property SampleRate Gets the sample rate of the audio content.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

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