> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AudioStateMonitor

> AudioStateMonitor

Reference material for AudioStateMonitor APIs.

## Functions

| Function | Description |
| - | - |
| [AudioStateMonitorCallback](https://docs.xbox.com/reference/audio/audiostatemonitor/types/audiostatemonitorcallback.md) | The callback function, registered by calling IAudioStateMonitor RegisterCallback, which is called by the system when there is a change in the sound level of the audio streams associated with IAudioStateMonitor. |
| [CreateCaptureAudioStateMonitor](https://docs.xbox.com/reference/audio/audiostatemonitor/functions/createcaptureaudiostatemonitor.md) | Creates a new instance of IAudioStateMonitor that monitors the audio level of all audio capture streams. |
| [CreateCaptureAudioStateMonitorForCategory](https://docs.xbox.com/reference/audio/audiostatemonitor/functions/createcaptureaudiostatemonitorforcategory.md) | Creates a new instance of IAudioStateMonitor that monitors the audio level of all audio capture streams in the specified category. |
| [CreateCaptureAudioStateMonitorForCategoryAndDeviceId](https://docs.xbox.com/reference/audio/audiostatemonitor/functions/createcaptureaudiostatemonitorforcategoryanddeviceid.md) | Creates a new instance of IAudioStateMonitor that monitors the audio level of all audio capture streams in the specified category for the audio endpoint with the specified device ID. |
| [CreateCaptureAudioStateMonitorForCategoryAndDeviceRole](https://docs.xbox.com/reference/audio/audiostatemonitor/functions/createcaptureaudiostatemonitorforcategoryanddevicerole.md) | Creates a new instance of IAudioStateMonitor that monitors the audio level of all audio capture streams in the specified category and with the specified role. |
| [CreateRenderAudioStateMonitor](https://docs.xbox.com/reference/audio/audiostatemonitor/functions/createrenderaudiostatemonitor.md) | Creates a new instance of IAudioStateMonitor that monitors the audio level of all audio-rendering streams. |
| [CreateRenderAudioStateMonitorForCategory](https://docs.xbox.com/reference/audio/audiostatemonitor/functions/createrenderaudiostatemonitorforcategory.md) | Creates a new instance of IAudioStateMonitor that monitors the audio level of all audio-rendering streams in the specified category. |
| [CreateRenderAudioStateMonitorForCategoryAndDeviceId](https://docs.xbox.com/reference/audio/audiostatemonitor/functions/createrenderaudiostatemonitorforcategoryanddeviceid.md) | Creates a new instance of IAudioStateMonitor that monitors the audio level of all audio-rendering streams in the specified category for the audio endpoint with the specified device ID. |
| [CreateRenderAudioStateMonitorForCategoryAndDeviceRole](https://docs.xbox.com/reference/audio/audiostatemonitor/functions/createrenderaudiostatemonitorforcategoryanddevicerole.md) | Creates a new instance of IAudioStateMonitor that monitors the audio level of all audio-rendering streams in the specified category and with the specified role. |

## Enumerations

| Enumeration | Description |
| - | - |
| [AudioStateMonitorSoundLevel](https://docs.xbox.com/reference/audio/audiostatemonitor/enums/audiostatemonitorsoundlevel.md) | Specifies the sound level of the capture or render stream. |

## Interfaces

| Interface | Description |
| - | - |
| [IAudioStateMonitor](https://docs.xbox.com/reference/audio/audiostatemonitor/interfaces/iaudiostatemonitor.md) | Provides methods that allow desktop apps and games to determine the time their audio streams' sound levels are modified by the system. |

## Conceptual documentation

* [Audio overview](https://docs.xbox.com/build/console-features/audio/overviews/audio.md)
* [Comparison of XDK and GDK audio API](https://docs.xbox.com/build/console-features/audio/overviews/comparison-of-xdk-and-gdk-audio-api.md)

## See also

[Audio API reference](https://docs.xbox.com/reference/audio/gc-reference-audio-toc.md)


## Related topics

- [AudioStateMonitorCallback](https://docs.xbox.com/reference/audio/audiostatemonitor/types/audiostatemonitorcallback.md)
- [CreateRenderAudioStateMonitor](https://docs.xbox.com/reference/audio/audiostatemonitor/functions/createrenderaudiostatemonitor.md)
- [CreateCaptureAudioStateMonitor](https://docs.xbox.com/reference/audio/audiostatemonitor/functions/createcaptureaudiostatemonitor.md)
- [CreateCaptureAudioStateMonitorForCategory](https://docs.xbox.com/reference/audio/audiostatemonitor/functions/createcaptureaudiostatemonitorforcategory.md)
- [CreateRenderAudioStateMonitorForCategory](https://docs.xbox.com/reference/audio/audiostatemonitor/functions/createrenderaudiostatemonitorforcategory.md)
