IAudioSessionEvents Interface

Provides notifications of session-related events such as changes in the volume level, display name, and session state.

Unlike the other interfaces in this section, which are implemented by the WASAPI system component, a WASAPI client implements the IAudioSessionEvents interface.

To receive event notifications, the client passes a pointer to its IAudioSessionEvents interface to the RegisterAudioSessionNotification(IAudioSessionEvents) function.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[ComImportAttribute]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("24918ACC-64B3-37C1-8CA9-74A66E9957A8")]
public interface IAudioSessionEvents

Remarks

Methods

OnChannelVolumeChanged Notifies the client that the volume level of an audio channel in the session submix has changed.
OnDisplayNameChanged Notifies the client that the display name for the session has changed.
OnGroupingParamChanged Notifies the client that the grouping parameter for the session has changed.
OnIconPathChanged Notifies the client that the display icon for the session has changed.
OnSessionDisconnected Notifies the client that the session has been disconnected.
OnSimpleVolumeChanged Notifies the client that the volume level or muting state of the session has changed.
OnStateChanged Notifies the client that the stream-activity state of the session has changed.

See Also