MediaPlayer.AudioBalance Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
|