Is there a way of detecting that the PC's sound card is being used? I want to trigger an event each time audio is played.