共用方式為


AudioFormat.ChannelCount Property

Note

This property is available only when developing for Windows.

Gets the number of channels.

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

Syntax

public int ChannelCount { get; }

Property Value

If the audio has not been processed, the source channel count; otherwise, the new channel count.

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP