MediaPlayer.AudioBalance Property


Gets or sets a ratio of volume across stereo speakers.

 property double AudioBalance { double get(); void set(double value); };
double AudioBalance();

void AudioBalance(double value);
public double AudioBalance { get; set; }
var double = mediaPlayer.audioBalance;
mediaPlayer.audioBalance = double;
Public Property AudioBalance As Double

Property Value


The ratio of volume across speakers in the range between -1 and 1. The default value is 0.

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to