473,406 Members | 2,390 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Audio Mixer Control in VB.NET

I need to control (Get and Set) this parameters of Windows Audio Mixer:

- Master Volume Mute
- Master Volume Level

In addition, but not mandatory, I need to control also the PC Speaker
Mute and Volume. PC Speaker control is aviable only in some Systems
such as laptops, in others systems there is no control of PC speaker in
Windows Mixer.

How is possible to do this in VB.Net (Visual Studio 2003)??

Thanks for the Help.

Andrea

Nov 21 '05 #1
1 10659
Hi there... You can do it by using some API calls so you need to write your
wrapper class (where all API function prototypes reside). This link show you
the functions you need to use (The code is written in VC++ 6). Hope you find
useful this information.

http://www.codeguru.com/Cpp/G-M/mult...cle.php/c1575/

Regards,
--
Angel J. Hernández M.
MCP - MCAD - MCSD - MCDBA
http://groups.msn.com/desarrolladoresmiranda
http://www.consein.com


"Andrea V.F." <vf******@gmail.com> escribió en el mensaje
news:11**********************@g49g2000cwa.googlegr oups.com...
I need to control (Get and Set) this parameters of Windows Audio Mixer:

- Master Volume Mute
- Master Volume Level

In addition, but not mandatory, I need to control also the PC Speaker
Mute and Volume. PC Speaker control is aviable only in some Systems
such as laptops, in others systems there is no control of PC speaker in
Windows Mixer.

How is possible to do this in VB.Net (Visual Studio 2003)??

Thanks for the Help.

Andrea

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dreamer | last post by:
I am making a program for a friend with a disability. I need to adjust his audio volume using the keyboard as he cannot use a mouse. Any suggestions as to how I can raise the volume using the up...
1
by: Tal Sharfi | last post by:
hi all I need to playback two or more audio files ( .wav files) together. let's say it's a song and a person speaking. I need to control the volume of the two channels, so when the speaking...
2
by: arkam | last post by:
Here is the code : public class AudioMixerHelper { public const int MMSYSERR_NOERROR = 0; public const int MAXPNAMELEN = 32; public const int MIXER_LONG_NAME_CHARS = 64; public const int...
3
by: | last post by:
I wrote an application and I want to decrease "system's" audio level .I dont want to do it via directshow must do it on directly window's wave volume control. Thankse
0
by: daniel123456 | last post by:
Hi, I'm searching for an audio mixer class that can change the balance o the lines too. I already found the AudioMixerHelper (e.g http://forums.hostrocket.com/archive/index.php/t-16820.html...
5
by: Paul van der Heu | last post by:
Is there really no one here who knows how to get the different sound devices available in your system as they are presented in soundmapper?? -- Bill Gates can't guarantee Windows, how are you...
0
by: hzgt9b | last post by:
Using VB.NET 2003, QUESTION How do I set up my program so that it will be notified of any/all audio changes on the machine? I.e. if someone adjusts the machine’s volume outside of my app, I...
0
by: Marc Shapiro | last post by:
I am running Python 2.3 on Linux. I am trying to write a program to simulate a hardware mixer to play theatrical sound cues. I need to be able to play multiple sound channels at once,...
2
by: martoncho | last post by:
Hi all, I am facing what is for me a really complicated situation. I program C but not this advanced (I mean direct hardware access etc). Here is the background: I am using DJGPP. I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.