Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Changing Wave , Midi and Master volume from Delphi

Posted on 1997-03-30
7
Medium Priority
?
343 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 600 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

824 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