|
CoreAudioDevicePartVolumeChange event |
![]() ![]()
|
Remarks
Occurs when the volume or mute status of a specific subpart of an audio endpoint device is modified by the user inside the Sound applet of the Windows Control Panel.
In order to obtain the updated volume levels and mute status, use the CoreAudioDevices.PartsVolumeGet and CoreAudioDevices.PartsMuteGet method in conjunction with the parameters passed to the event.
This event is generated in Windows Vista and later versions only.
Syntax
[Visual Basic] Public Event CoreAudioDevicePartVolumeChange As CoreAudioDevicePartVolumeChangeEventHandler |
[C#] public event CoreAudioDevicePartVolumeChangeEventHandler CoreAudioDevicePartVolumeChange; |
[C++] public: __event CoreAudioDevicePartVolumeChangeEventHandler CoreAudioDevicePartVolumeChange; |
Event Data
The event handler receives an argument of type CoreAudioDevicePartVolumeChangeEventArgs having the following parameters:
Parameter |
Description |
|||||||||
|
|
|||||||||
nDataFlow |
Direction in which audio data flows between an audio endpoint device and an application. Supported values are the following:
|
|||||||||
nDeviceIndex |
Zero-based index of the audio endpoint device whose subpart generated the event. |
|||||||||
nPartIndex |
Zero-based index of the subpart that generated the event. |