IMFMediaEngineEx::GetBalance method (mfmediaengine.h)

Gets the audio balance.

Syntax

double GetBalance();

Return value

Returns the balance. The value can be any number in the following range (inclusive).

Return value Description
-1
The left channel is at full volume; the right channel is silent.
1
The right channel is at full volume; the left channel is silent.
 

If the value is zero, the left and right channels are at equal volumes. The default value is zero.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header mfmediaengine.h

See also

IMFMediaEngineEx