Tool for exploring Windows Vista Audio device chain (tree?)

独自空忆成欢 提交于 2019-12-21 06:43:26

问题


The new Vista Audio subsystem is set up to be a chain of devices starting with the inputs, going through all the various controls (like mixers and volumen controls) and then ending up at various endpoints (like speakers or headphones).

My question is: Is there a tool out there that will show all the endpoints devices in the system, and what devices are chained together? Ideally, it would diagram the topology, showing what inputs where connected to what outputs, and you would be able to see all the properties for each part of the audio system.


回答1:


Larry Osterman (one of the Vista Audio developers) has a great blog with many posts about Vista Audio. Some potentially helpful helpful posts:

  • http://blogs.msdn.com/larryosterman/archive/2005/06/13/428724.aspx
  • http://blogs.msdn.com/larryosterman/archive/2005/06/14/428962.aspx
  • http://blogs.msdn.com/larryosterman/archive/2005/09/21/472480.aspx
  • http://blogs.msdn.com/larryosterman/archive/2005/09/23/473351.aspx
  • http://blogs.msdn.com/larryosterman/archive/2007/03/06/how-do-i-change-the-master-volume-in-windows-vista.aspx
  • http://blogs.msdn.com/larryosterman/archive/2007/10/31/what-happens-when-audio-rendering-fails.aspx

Also:

  • Enumerating Audio Devices
  • Audio Endpoints in Vista (PPT)

I thought I remembered him having some sample code for doing exactly what you describe, but I'm probably remembering wrong as I couldn't find it.




回答2:


You should look at the IDeviceTopology API which was designed for exactly your problem.



来源:https://stackoverflow.com/questions/278294/tool-for-exploring-windows-vista-audio-device-chain-tree

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!