Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: how does mmsys.clp work?  (Read 3999 times)

0 Members and 1 Guest are viewing this topic.

Lemonilla

    Topic Starter


    Apprentice

  • "Too sweet"
  • Thanked: 70
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 7
how does mmsys.clp work?
« 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
Quote from: patio
God Bless the DOS Helpers...
Quote
If it compiles, send the files.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: how does mmsys.clp work?
« Reply #1 on: June 29, 2012, 11:26:20 AM »
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
I was trying to dereference Null Pointers before it was cool.

Lemonilla

    Topic Starter


    Apprentice

  • "Too sweet"
  • Thanked: 70
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 7
Re: how does mmsys.clp work?
« Reply #2 on: June 29, 2012, 03:29:55 PM »
So from the very little I understood of the articles, this is a hardware thing that can't really be altered by programs?
Quote from: patio
God Bless the DOS Helpers...
Quote
If it compiles, send the files.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: how does mmsys.clp work?
« Reply #3 on: June 29, 2012, 03:35:01 PM »
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.
I was trying to dereference Null Pointers before it was cool.