首页 > 学院 > 开发设计 > 正文

C# 二种方法控制系统音量/麦克风大小

2019-11-17 02:35:30
字体:
来源:转载
供稿:网友
C# 二种方法控制系统音量/麦克风大小

场景:在做播放设备的时候需要控制音量的大小,下面几种方法将满足你的要求

方法一: 改变系统音量设置

?
1234567891011121314151617181920212223242526272829303132333435363738[DllImport("user32.dll")]static java plain" style="background: none !important; margin: 0px !important; padding: 0px !important; outline: 0px !important; border-radius: 0px !important; border: 0px currentColor !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: left !important; right: auto !important; bottom: auto !important; color: black !important; line-height: 1.1em !important; overflow: visible !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-style: normal !important; font-weight: normal !important; vertical-align: baseline !important; float: none !important; position: st
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表