Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Changing Wave , Midi and Master volume from Delphi

Posted on 1997-03-30
7
333 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.
0
Comment
Question by:HarisIV
  • 4
  • 3
7 Comments
 

Author Comment

by:HarisIV
ID: 1335060
Adjusted points to 205
0
 

Expert Comment

by:zodik
ID: 1335061
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
 

Author Comment

by:HarisIV
ID: 1335062
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:HarisIV
ID: 1335063
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
 

Accepted Solution

by:
zodik earned 200 total points
ID: 1335064
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
 

Expert Comment

by:zodik
ID: 1335065
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
 

Author Comment

by:HarisIV
ID: 1335066
Thanks zodik very much I have found what I was looking for.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question