Hello to all! I need to learn how to control the sound of a computer from a program on delphi?

  • 2
    Volume adjust? File play? Generate a sample? Apply effect? What exactly do you want? - Nofate ♦
  • one
    mirella8.ru if you did this site, then you do not need to do more WEB. I waited a long time for it to load, then set the desired encoding, it is different on all pages. Engage in system programming in Delphi. Web - no need :) - Artem
  • mirella8.ru - this is not my site, and the site of my friend, I only have a place with him from him. I need to control the volume of the computer - Michael Nikolaev
  • still throw the web :) or take yourself a normal hosting. - Artem
  • @Shrek long you mean your Internet, not hosting =) (No offense) - Mikhail Nikolaev

3 answers 3

Beep generation function beep;

  • And what have the volume control? - insolor
  • @insolor are you talking about? - Michael Nikolaev
  • one
    I quote - how to control the sound of a computer from a program on delphi ... I also did not understand - Zowie
  • gut I don’t understand anything at all - Artem
  • one
    madhouse "Baitik and bitiki"))) - skegg

I looked at the functions imported from WINMM.DLL in one volume control, here is their list:

 mixerGetLineInfo mixerGetDevCaps mixerGetNumDevs mixerGetControlDetails mixerSetControlDetails mixerOpen mixerGetLineControls mixerClose 

The prefix mixer tells us (at least to me) that they are somehow related to volume control. In the rest, Google to help.

PS here, google sample code: "How to work with a mixer?"

    What are you fucking Michael? Is it not clear that he wants to learn how to adjust the volume of the computer, and not control signals like beep. There seems to be some kind of API function. I also wanted to read the answers on this issue.

    • For such answers as you have comments;) - Nofate ♦