IAudioSessionControl2 Interface

Enables a client to configure the control parameters for an audio session and to monitor events in the session.

The IAudioClient.Initialize method initializes a stream object and assigns the stream to an audio session.

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("BFB7FF88-7239-4FC9-8FA2-07C950BE9C6D")]
public interface IAudioSessionControl2

Remarks

Methods

GetDisplayName Retrieves the display name for the audio session.
GetGroupingParam Retrieves the grouping parameter of the audio session.
GetIconPath Retrieves the path for the display icon for the audio session.
GetProcessId Retrieves the process identifier of the audio session.
GetSessionIdentifier Retrieves the identifier for the audio session.
GetSessionInstanceIdentifier Retrieves the identifier of the audio session instance.
GetState Retrieves the current state of the audio session.
IsSystemSoundsSession Indicates whether the session is a system sounds session.
RegisterAudioSessionNotification Registers the client to receive notifications of session events, including changes in the session state.
SetDisplayName Assigns a display name to the current audio session.
SetDuckingPreference Enables or disables the default stream attenuation experience (auto-ducking) provided by the system.
SetGroupingParam Assigns a session to a grouping of sessions.
SetIconPath Assigns a display icon to the current session.
UnregisterAudioSessionNotification Deletes a previous registration by the client to receive notifications.

See Also