Controling Volume Mixer
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to control other application volume(firefox). i can do it with Volume Mixer What is the libraries of the Volume Mixer ? 回答1: Here is a sample C# Console Application that does it. It's based on the Windows Core Audio Library . It works only on Windows 7 and higher. using System; using System.Runtime.InteropServices; using System.Collections.Generic; namespace SetAppVolumne { class Program { static void Main(string[] args) { const string app = "Mozilla Firefox"; foreach (string name in EnumerateApplications()) { Console.WriteLine("name: