Computer Hope
Microsoft => Microsoft Windows => Windows Vista and 7 => Topic started by: Lemonilla on June 29, 2012, 07:13:30 AM
-
So I was going to write a program that lowers the volume of music when it sensed incoming audio from skype, but then I learned that java doesn't do that. So I was wondering what does. Hate to sound uppity, but obviously some programming language does it, because mmsys.clp (windows sound control panel thingy) has an option for it. what language are the .clp's written in? \ how does it do that?
Thanks for the help :D
-
mmsys.cpl is a control panel applet. It doesn't control anything...
The actual mixing is done at the kernel level. volumes aren't changed
http://blogs.msdn.com/larryosterman/archive/2005/06/13/428724.aspx
http://blogs.msdn.com/b/larryosterman/archive/2006/03/07/545451.aspx
http://blogs.msdn.com/b/larryosterman/archive/2005/06/14/428962.aspx
-
So from the very little I understood of the articles, this is a hardware thing that can't really be altered by programs?
-
So from the very little I understood of the articles, this is a hardware thing that can't really be altered by programs?
It probably can, but you'll have to dig pretty deep into Windows APIs, callbacks, and other 'fun' stuff.