How can I determine whether or not a wav file is currently playing on a system or within a specific app? Any help is greatly appreciated.

------------------