Solved

VC: Setting Master Volume

Posted on 1998-12-19
5
378 Views
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?
0
Comment
Question by:Slarti
  • 2
  • 2
5 Comments
 
LVL 2

Author Comment

by:Slarti
ID: 1180603
Edited text of question
0
 
LVL 11

Expert Comment

by:alexo
ID: 1180604
NickRepin provided a solution in http://www.experts-exchange.com/Q.10106296
0
 
LVL 2

Author Comment

by:Slarti
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.
0
 
LVL 11

Accepted Solution

by:
alexo earned 100 total points
ID: 1180606
OK
0
 
LVL 23

Expert Comment

by:chensu
ID: 1180607
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
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 goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

791 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