Archived

This topic is now archived and is closed to further replies.

NorthWoodsman

Setting Master Volume

Recommended Posts

NorthWoodsman    166
How do you set the master volume for sound devices? There appears to be no simple way to do this; Every time I try to find something, I end up being bogged 10 miles deep in random WINMM functions that, in my opinion, should''ve been depreciated about 3 versions ago. Mind you, I don''t want to control the WAVE volume, I want the "What you Hear" volume, or in other words, what is set when you left-click the Sound tray icon.

Share this post


Link to post
Share on other sites
JY    289
waveOutSetVolume is the one you are looking for - simply pass in a handle to a device which was opened using waveOutOpen and a value for the volume.

These APIs probably have depreciated a lot, but unfortunately they have not been deprecated

It''s all there in the documentation.



"Absorb what is useful, reject what is useless, and add what is specifically your own." - Lee Jun Fan

Share this post


Link to post
Share on other sites