Share via


IMSVidAudioRenderer::get_Balance method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The get_Balance method retrieves the audio renderer's balance level.

Syntax

HRESULT get_Balance(
  [out] long *lBal
);

Parameters

[out] lBal

Pointer to a variable that receives the balance level.

Return value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

The balance level is a value between �10,000 and 10,000, measured in hundredths of a decibel (dB). If the value is �10,000, the left channel is at full volume and the right channel is attenuated by 100 dB. If the value is 10,000, the right channel is at full volume and the left channel is attenuated by 100 dB. If the value is zero, both channels are at full volume.

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IBasicAudio::get_Balance

IMSVidAudioRenderer Interface

IMSVidAudioRenderer::put_Balance