Check if audio playing with Python on Windows 10

蹲街弑〆低调 提交于 2021-02-08 08:42:34

问题


I'm working with Python 3.7 on Windows 10. I would like to detect if there is any audio playing on my computer or not. I was looking into win32api.GetVolumeinformation but I'm unable to get what I want.

When you control your audio you can see if there is a program playing and I want to achieve that.

来源:https://stackoverflow.com/questions/59636713/check-if-audio-playing-with-python-on-windows-10

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