Solved

Mixer controlling in Delphi

Posted on 1998-11-06
3
410 Views
Last Modified: 2010-04-04
How can I control the mixer settings from within Delphi application?
0
Comment
Question by:Bocian
3 Comments
 
LVL 20

Expert Comment

by:Madshi
ID: 1345892
Look at "http://www.wilsonc.demon.co.uk/delphi.htm". There you'll find demos with source code...

Regards, Madshi.
0
 

Author Comment

by:Bocian
ID: 1345893
The demo and component mentioned above worx for MIDI and Master volume. I need something that worx for all possible Mixer devices.
0
 
LVL 6

Accepted Solution

by:
Stuart_Johnson earned 100 total points
ID: 1345894
Hi Bocian,

Using the auxGetNumDevs function (found in MMSystem.pas) you can return a count of controllable audio devices installed in your system.  From this you can the create say a bunch of sliders representing each one.

You could use the auxGetDevCaps function to get device information relating to each device ID returned by auxGetNumDevs.

From there, you can adjust the volume and the balance of each device using the auxSetVolume function, and retrieve the current status on each device using the auxGetVolume function.

If you want more info, the MM help file which is shipped with D3 contains enough info to get you started.  If you want futher help, let me know.

Good luck,

Stu
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Mydac connection data base issue 3 107
add combobox item based on numbers 9 99
code issue 8 85
Strange behavior when a form is closed 6 43
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now