The most trivial way is to simply poll /proc/empeg_notify and keep an eye on the current "notify_MixerInput" field.

Cheers