Windows 7 has per-application volume controls that let you mute applications individually. How can I mute and unmute an application from a console app?
You'll want to use the IAudioSessionManager2 COM interface. Have a look at Vista Core Audio API Master Volume Control that wraps some of the new Core Audio APIs. The console project therein enumerates active audio sessions and lets you tweak volume and mute status of an active audio session.