0

How can I change the application volume in UWP. I tried with global api provided by Microsoft but the value of the volume mixer in the application doesn't changed. Did I miss anything?enter link description here this will decrease the volume but not the volume mixer. How can I control volume mixer.

Joby James
  • 429
  • 7
  • 21
  • Yes, I check the reply but is doesn't help me. Because the volume mixer of the application didn't change with the Sound global api. – Joby James Jun 12 '19 at 12:08

1 Answers1

1

enter link description here this will decrease the volume but not the volume mixer

Sound Global API is used to easily accessible sound system that allows you to simply "flip a switch" and get an immersive audio experience across your entire app. It can manage ElementSoundPlayer that is an integrated sound system within XAML. But it can't change app's volume in the volume mixer. Currently, UWP does not provide such api manage volume mixer.

The legacy win32 app could control volume mixer. If you do want to control volume mixer within UWP, you could use desktop bridge convert win32 app to uwp. This related document.

Nico Zhu - MSFT
  • 25,823
  • 2
  • 12
  • 32