views:

35

answers:

0

Is there any way of detecting when another app plays audio via MCI? And more specifically, when it stops playing audio?

The other app in question is the powerpoint viewer 97 which I believe uses MCI for its audio output.

This is for a kiosk type system with XPe - I want to change the settings on attached audio amplifiers when the powerpoint viewer starts and stops playing an mp3 file linked to a page in the presentation.

I've looked at MCI and put together some test apps, but MCI seems to do quite a good job at insulating you from what other applications are doing. (Which is what you'd want, most of the time.)

Will I have to look below MCI, down in the mixer API or some such? Is there a way of getting it to report on the current sound card output level or buffer usage, for example?