Solved

VC: Setting Master Volume

Posted on 1998-12-19
5
384 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
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 viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

690 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