So I've been pondering on this problem for a while and I can't figure out what the right way to go about this is. I want to determine if Windows is outputting sound at a certain time using a Powershell script. I can determine whether or not the audio driver has an error, but I cannot for the life of me figure out if the system is playing sound.
I looked at the .NET class for System.Media and the three classes inside all had to do with playing sound or manipulating the system sounds.
I'm not asking for code to be written for me, I just need to know where to start to check if the windows system is currently playing sound.
I have a sound monitor that is continuously monitoring sound on the Node.js platform and when it loses sound it sends me a text. Well, I also want it to go through all the systems its hooked up to and see where the fault lies. That's why I want to see whether or not the windows computer is playing sound.