更改音量 win32 C++ [英] change volume win32 c++

查看:37
本文介绍了更改音量 win32 C++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将如何在 c++ win32 中更改音量?另外我将如何静音/取消静音?感谢您的帮助!

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

推荐答案

两个选项:

  1. 这里有 该问题的答案(更改主音量来自 C++,其中还包括 SetMute 等)

您是否考虑过显示音量控件并让用户使用?如果是这样,我可以为此发布一些代码.(您基本上只是使用音量控制小程序.

Have you considered showing the Volume controls and letting the user? If so, I can post some code for that. (You basically just shell out to the volume control applet.

这篇关于更改音量 win32 C++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆