Changing Wave , Midi and Master volume from Delphi

I need to change volume settings from Delphi, I have tried the API calls but I didn't manage to make them work.
HarisIVAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HarisIVAuthor Commented:
Adjusted points to 205
0
zodikCommented:
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.
0
HarisIVAuthor 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.


0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

HarisIVAuthor 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.


0
zodikCommented:
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]
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
zodikCommented:
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
0
HarisIVAuthor Commented:
Thanks zodik very much I have found what I was looking for.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.