Bagikan melalui


AudioEngine.GetCategory Method

Gets an audio category.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public AudioCategory GetCategory (
         string name
)

Parameters

  • name
    Friendly name of the category to get.

Return Value

Audio category.

See Also

Tasks

How to: Play a Sound
How to: Stop or Pause a Sound
How to: Change Sound Volume Levels

Concepts

Audio Overview

Reference

AudioEngine Class
AudioEngine Members
Microsoft.Xna.Framework.Audio Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista