Jump to content
  • Advertisement


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


Setting Master Volume

This topic is 5456 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!