CoreAudioDevices.VuMeterEnableNotifications method |
|
Remarks
Enables/disables VU-Meter notifications, sent through the CallbackForCoreAudioEvents delegate having the nEvent parameter set to EV_COREAUDIO_DEVICE_VUMETER_CHANGE, for audio endpoint devices supporting Vu-Meters.
This method is only intended for usage with Windows Vista and later versions: further information about management of audio devices in Windows Vista and later versions can be found inside the How to access settings of audio devices in Windows Vista and later versions tutorial.
For further details about methods related to the management of core audio devices refer to the CoreAudioDevicesMan class.
Syntax
[Visual Basic] Public Function VuMeterEnableNotifications ( bEnable as Boolean ) as enumErrorCodes |
[C#] public enumErrorCodes VuMeterEnableNotifications ( bool bEnable ); |
[C++] public: enumErrorCodes VuMeterEnableNotifications ( bool bEnable ); |
Parameter |
Description |
||||||
|
|
||||||
bEnable |
Boolean value that specifies if the CallbackForCoreAudioEvents delegate having the nEvent parameter set to EV_COREAUDIO_DEVICE_VUMETER_CHANGE must be enabled. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |