Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Volume setting in C++ Builder  while sound playing

Posted on 2002-07-01
2
Medium Priority
?
1,221 Views
Last Modified: 2008-03-17
In C++ Builder there is a component TMediaPlayer. Unfortunately I couldn't find in it any method  to set a volume of played sound. How could be possible to do this programatically ?
0
Comment
Question by:rainette
[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 Comments
 
LVL 2

Accepted Solution

by:
Ber earned 300 total points
ID: 7123288
There is an example of setting the wave out volume using the waveOutSetVolume API here... its about half way down the page, you may find the entire page intresting...

http://developer.grup.com.tr/language/cbuilder/book2/cpb/9808/cpb9881.htm

You could also try the auxsetvolume API...

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/mmfunc_3eat.asp

Cheers...
Ber...
0
 
LVL 2

Expert Comment

by:Ber
ID: 7170550
Cheers...
Ber...
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

604 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