Solved

Mixer controlling in Delphi

Posted on 1998-11-06
3
416 Views
Last Modified: 2010-04-04
How can I control the mixer settings from within Delphi application?
0
Comment
Question by:Bocian
[X]
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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

732 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