Copyright © 2005-2019 MultiMedia Soft

CoreAudioDevices.VuMeterEnableNotifications method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enables/disables VU-Meter notifications, sent through the CoreAudioDeviceVuMeterChange event, 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 CoreAudioDeviceVuMeterChange event must be enabled.

Supported values are the following:

Mnemonic constant

Meaning

false (default)

The event is disabled

true

The event is enabled

 

 

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.