AudioStateMonitor
Reference material for AudioStateMonitor APIs.Functions
| Function | Description |
|---|---|
| AudioStateMonitorCallback | 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 | Creates a new instance of IAudioStateMonitor that monitors the audio level of all audio capture streams. |
| CreateCaptureAudioStateMonitorForCategory | Creates a new instance of IAudioStateMonitor that monitors the audio level of all audio capture streams in the specified category. |
| CreateCaptureAudioStateMonitorForCategoryAndDeviceId | 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 | 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 | Creates a new instance of IAudioStateMonitor that monitors the audio level of all audio-rendering streams. |
| CreateRenderAudioStateMonitorForCategory | Creates a new instance of IAudioStateMonitor that monitors the audio level of all audio-rendering streams in the specified category. |
| CreateRenderAudioStateMonitorForCategoryAndDeviceId | 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 | 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 | Specifies the sound level of the capture or render stream. |
Interfaces
| Interface | Description |
|---|---|
| IAudioStateMonitor | Provides methods that allow desktop apps and games to determine the time their audio streams’ sound levels are modified by the system. |
