MediaPlayer.AudioBalance MediaPlayer.AudioBalance MediaPlayer.AudioBalance MediaPlayer.AudioBalance MediaPlayer.AudioBalance Property

Definition

Gets or sets a ratio of volume across stereo speakers.

public : double AudioBalance { get; set; }
double AudioBalance();

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

Property Value

double double double

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

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)