ILMAVUMeter Interface

Data types:

VUMETER_LEVEL

typedef struct
{
   long lLeft;
   long lRight;
} VUMETER_LEVEL;

Describes the current VU meter power levels.

Member

Description

lLeft

Left channel power level. The range is 10000 to 0. Full power is 0, and 10,000 is silence; the scale is logarithmic.

Divide by 100 to get equivalent decibel value (for example 10,000 = 100 dB).

lRight

Right channel power level. The range is 10000 to 0. Full power is 0, and 10,000 is silence; the scale is logarithmic.

Divide by 100 to get equivalent decibel value (for example 10,000 = 100 dB).

 

Interface methods:

HRESULT GetLevel(VUMETER_LEVEL* pLevel);

Parameters

pLevel

Pointer to a VUMETER_LEVEL structure that receives the current power levels.

Description

Used to query the current audio power levels.

Returns

S_OK if successful, an HRESULT error code otherwise.