C# UWP) code : cant get MediaElement volume to change

  • Thread starter Thread starter ScCrow2
  • Start date Start date
S

ScCrow2

Guest
I finally figure out how to get a sound to play in MediaElement

But, its too loud!

MediaElement player = new MediaElement();

....

player.Volume = (double) .2; // player.Volume = 0.20000000298023224
player.PlaybackRate = (double) .2; // player.PlaybackRate = 0.20000000298023224

player.Play();

Checking the values show that the assignment worked, the play works, but no change in volume.

I thought I would try to speed it up a little too... well, above is slowing it. Neither work. Nor does setting it to Zero.

Continue reading...
 
Back
Top