We help IT Professionals succeed at work.

Changing Wave , Midi and Master volume from Delphi

HarisIV
HarisIV asked
on
Medium Priority
364 Views
Last Modified: 2010-04-06
I need to change volume settings from Delphi, I have tried the API calls but I didn't manage to make them work.
Comment
Watch Question

Author

Commented:
Adjusted points to 205

Commented:
there are a numer of freeware componets to do this, but if you want to use API, do something like this:
use auxGetNumDevs and auxGetDevCaps to find the devices.

and auxGetVolume,auxSetVolume to control the volume

for the maseter vol, there is waveOutSetVolume.
worked for me.

Author

Commented:
I am sory zodik, but you didn't tell me anything new for me, I have said that I have tried the API calls and I didn't manage to make them work, if you give me a working example or the page where I can find those freeware components ( I have search Delphi32.com and other pages but I didn't found anything, I have found one but unfortunaly was a broken link) I will accept the anwser.


Author

Commented:
I am sory zodik, but you didn't tell me anything new for me, I have said that I have tried the API calls and I didn't manage to make them work, if you give me a working example or the page where I can find those freeware components ( I have search Delphi32.com and other pages but I didn't found anything, I have found one but unfortunaly was a broken link) I will accept the answer.


Commented:
I don't remember where it is, but if you email me at intruder@iname.com, I'll send you the component with the source [it's a bit long to put here]

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Commented:
wait ... I've found it ... go to http://intermid.com/delphi/dlcoll.htm

first collection on this page, has a volume component.

btw: this site is more recent and updated then delphi32
another good site is http://carbohyd.siobc.ras.ru/torry/MAIN.HTM
hope this helps

Author

Commented:
Thanks zodik very much I have found what I was looking for.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.