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.


Try this api using winrt: The enum options are listed here, but you can use
mediaIs("PAUSED"),mediaIs("PLAYING")ect...There are heaps more useful winrt APIs to control media on windows too here.