# AudioScene
- [Overview](#section363513269165630)
- [Summary](#section868572158165630)
- [Data Fields](#pub-attribs)
- [Details](#section396807424165630)
- [Field](#section649234473165630)
- [CheckSceneCapability](#a9b485404b2ec3b8bc2b8d1b73401d45c)
- [SelectScene](#aacdbf3a9f488a7e71f3a5a23c68c0068)
## **Overview**
**Related Modules:**
[Audio](audio.md)
**Description:**
Provides scene-related APIs for audio rendering or capturing, including functions to select an audio scene and check whether the configuration of an audio scene is supported.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Data Fields
## **Details**
## **Field **
## CheckSceneCapability
```
int32_t(* AudioScene::CheckSceneCapability) ([AudioHandle](audio.md#ga18675ddb073465fdeac33a897f675d79) handle, const struct [AudioSceneDescriptor](audioscenedescriptor.md) *scene, bool *supported)
```
**Description:**
Checks whether the configuration of an audio scene is supported.
**Parameters:**
Name
|
Description
|
| handle |
Indicates the audio handle. |
| scene |
Indicates the pointer to the descriptor of the audio scene. |
| supported |
Indicates the pointer to the variable specifying whether the configuration is supported. Value true means that the configuration is supported, and false means the opposite. |
**Returns:**
Returns **0** if the result is obtained; returns a negative value otherwise.
**See also:**
[SelectScene](audioscene.md#aacdbf3a9f488a7e71f3a5a23c68c0068)
## SelectScene
```
int32_t(* AudioScene::SelectScene) ([AudioHandle](audio.md#ga18675ddb073465fdeac33a897f675d79) handle, const struct [AudioSceneDescriptor](audioscenedescriptor.md) *scene)
```
**Description:**
Selects an audio scene.
**Parameters:**
Name
|
Description
|
| handle |
Indicates the audio handle. |
| scene |
Indicates the pointer to the descriptor of the audio scene to select. |
**Returns:**
Returns **0** if the scene is selected successfully; returns a negative value otherwise.
**See also:**
[CheckSceneCapability](audioscene.md#a9b485404b2ec3b8bc2b8d1b73401d45c)