Solved

Mixer controlling in Delphi

Posted on 1998-11-06
3
412 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

810 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