HarisIV
asked on
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.
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.
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.
ASKER
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.
ASKER
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
ASKER
Thanks zodik very much I have found what I was looking for.
ASKER