Delen via


MediaPlayer.AudioBalance Property

Definition

Gets or sets a ratio of volume across stereo speakers.

public:
 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

Double

double

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

Windows requirements

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

Applies to