change volume win32 c++

后端 未结 6 1957
你的背包
你的背包 2020-12-09 05:41

How would I go about changing the sound volume in c++ win32? Also how would I mute/unmute it? Thanks for the help!

6条回答
  •  無奈伤痛
    2020-12-09 06:23

    Maybe you should consider to NOT change the global volume. Think about it - if I lower the volume in MediaPlayer all other programs are still as loud as before, and that is exactly what I expect from any program - to only lower it's OWN volume. Of course there might be reasons to change global volume, no offense ;)

提交回复
热议问题