VC: Setting Master Volume

Posted on 1998-12-19
Last Modified: 2011-09-20
I'm using Visual C++ 5 under Windows 95 and a Creative SoundBlaster 16 Value PNP sound card.

I am trying to set the global volume (the one which, in the Windows Volume Control, is called just plain "Volume"). I have tried to use auxSetVolume without success; any value I pass for uDeviceID affects some subsystem, like the wave-out or midi-out. I want something that affects the global volume and can't figure out how to do it. Am I using the wrong function?
Question by:Slarti
  • 2
  • 2

Author Comment

ID: 1180603
Edited text of question
LVL 11

Expert Comment

ID: 1180604
NickRepin provided a solution in

Author Comment

ID: 1180605
alexo: Thanks for pointing it out. I think that question will solve the problem, and I will test it shortly. Since you were the one who pointed me to the solution, I think you deserve the points for this question, so please post a blank answer.
LVL 11

Accepted Solution

alexo earned 100 total points
ID: 1180606
LVL 23

Expert Comment

ID: 1180607

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now