Volume setting in C++ Builder  while sound playing

Posted on 2002-07-01
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 ?
Question by:rainette
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

Accepted Solution

Ber earned 100 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...

You could also try the auxsetvolume API...


Expert Comment

ID: 7170550

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

Suggested Solutions

Title # Comments Views Activity
FMX enumerated colours 2 151
Beginner to Unreal Engine 4 5 117
Indy 10 not Receiving UDP broadcast 3 53
Coding for the first time 9 97
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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 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.

738 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