LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

volume control

witch SDK function is used to control the main volume of my pc ?
0 Kudos
Message 1 of 5
(3,837 Views)
The Windows Multimedia API functions with prefix 'mixer' (i.e. mixerXXXX() functions) are used to monitor and control audio mixers in Windows.

Beware that the mixer API is not easy to understand. There are a number of third party controls available to make it easier, of which ours (MSSMixer) is one.

--
Martin
--
Martin
Certified CVI Developer
Message 2 of 5
(3,836 Views)
        Can you (or someone else) post a little example of how to control (up/down)/mute/unmute the master volume?
0 Kudos
Message 3 of 5
(3,651 Views)
Thank you for the invitation but I don't have a ready-made example to hand (I always use my own ActiveX control) and it would be a lot of work to produce one.
--
Martin
Certified CVI Developer
0 Kudos
Message 4 of 5
(3,632 Views)

Try this sample project I made to test waveOutxxx SDK function: it permit you to determine master volume of your audio device.

It is not entirely clear to me the interaction between this function and Windows master volume, but you may want to give a try to this sample: maybe it can help you a little.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 5 of 5
(3,598 Views)