Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My code that used to work for XP is no longer works for Vista or Windows 7. I need to be able to mute or set volume for microphone or line -in for Vista or Windows 7 operation system. Any ideas?

Thanks
Posted

You can use Win32 API Classes to do that as I think, try this link for Win32 hardware classes, I hope it helps you out:

http://msdn.microsoft.com/en-us/library/aa389273(VS.85).aspx#_hmm_networking_device_classes[^]
 
Share this answer
 
I haven't come across a managed wrapper around the audio mixer but you can write your own although it's not exactly a trivial task so it may be worth some serious googling.

If you need to write your own wrapper then all the stuff you need is here[^] and in MMSystem.h which is installed along with C++ but you should be able to source it online - if not, it may be included with C++ express.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900