Solved

VC: Setting Master Volume

Posted on 1998-12-19
5
380 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Title # Comments Views Activity
Starting a function in a c++ application with a TCP command from C# 4 83
Excel/Word Add-in in what language? 5 143
thread-safe code in c++ 2 122
White board coding practice 3 95
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. …
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
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…
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.

733 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