Solved

VC: Setting Master Volume

Posted on 1998-12-19
5
366 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

708 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

13 Experts available now in Live!

Get 1:1 Help Now