Copyright © 2006-2025 MultiMedia Soft

CoreAudioSessionVolumeChange event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when the user modifies the audio volume or the mute status for the current session from the Windows Mixer.

 

This event is generated in Windows Vista and later versions only.

 

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event CoreAudioSessionVolumeChange As CoreAudioSessionVolumeChangeEventHandler


 

[C#]

public event CoreAudioSessionVolumeChangeEventHandler CoreAudioSessionVolumeChange;


 

[C++]

public: __event CoreAudioSessionVolumeChangeEventHandler CoreAudioSessionVolumeChange;


 

 

Event Data

 

The event handler receives an argument of type CoreAudioSessionVolumeChangeEventArgs having the following parameters:

 

Parameter

Description

 

 

fVolumeLevel

The new audio volume of the session. Can be a value between 0 and 100.

bMute

Boolean value that specifies if audio for the current session is muted.

Supported values are the following:

Mnemonic Value

Meaning

false

Audio is not muted

true

Audio is muted