I would like to detect if my PC is playing any kind of audio (music/movie anything).
I wrote an app which notifies me of my twitter updates. Now I would like to add a speech synthesis to it but I only want to play out the messages if there is no music or movie playing.
Although I'm using C# I don't mind doing the detection using C++ and then integrating it.
So the questions are:
1) How can I detect audio output?
2) What is the best free speech synthesis library for windows?