Check if audio playing with Python on Windows 10
问题 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