473,788 Members | 2,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

detecting volume mute in windows

Hi there,

I am implementing a mute button on my application which successfully
changes the mute status of the mixer in windows. I would like to know
if there is a way to detect the mixer being muted from outside the app
(by the user or another program), so I can display this in my own app.
Is there some windows message which is broadcast when a mixer is muted?

Thanks,

Vinny.

Oct 4 '06 #1
2 4775
<vi********@gma il.comwrote in message
news:11******** **************@ c28g2000cwb.goo glegroups.com.. .
I am implementing a mute button on my application which successfully
changes the mute status of the mixer in windows. I would like to know
if there is a way to detect the mixer being muted from outside the app
(by the user or another program), so I can display this in my own app.
Is there some windows message which is broadcast when a mixer is muted?
If you have maintain a handle to the mixer and have specified a callback
window you should get a

MM_MIXM_CONTROL _CHANGE

or a

MM_MIXM_LINE_CH ANGE

message when the user fiddles with its settings. I'd suggest that you open
up the Windows SPY utility, mute and unmute the line and see what messages
you get.

You should post any follow-up in the group

microsoft.publi c.win32.program mer.mmedia

and hope for a reply from Chris. <g>

Regards,
Will

Oct 4 '06 #2
Thanks, really appreciate the help.

Vinny
William DePalo [MVP VC++] wrote:
<vi********@gma il.comwrote in message
news:11******** **************@ c28g2000cwb.goo glegroups.com.. .
I am implementing a mute button on my application which successfully
changes the mute status of the mixer in windows. I would like to know
if there is a way to detect the mixer being muted from outside the app
(by the user or another program), so I can display this in my own app.
Is there some windows message which is broadcast when a mixer is muted?

If you have maintain a handle to the mixer and have specified a callback
window you should get a

MM_MIXM_CONTROL _CHANGE

or a

MM_MIXM_LINE_CH ANGE

message when the user fiddles with its settings. I'd suggest that you open
up the Windows SPY utility, mute and unmute the line and see what messages
you get.

You should post any follow-up in the group

microsoft.publi c.win32.program mer.mmedia

and hope for a reply from Chris. <g>

Regards,
Will
Oct 5 '06 #3

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

Similar topics

1
2903
by: Bill English | last post by:
Could someone please provide me with some resource as to building an application similiar to the Microsoft Windows Volume Control, I need to be able to mute certain outputs and input, and I need to monitor the levels of the input and output. -- I am a 15 year old C# developer, I am completely self taught, so please don't get mad if I ask a stupid question. Thanks.
1
1658
by: Tim | last post by:
Hi, I'm trying to determine whether or not the volume is mute. I've been using the waveOutGetVolume API to determine volume levels, but I can't seem to determine whether the volume has been muted or not Any ideas would be greatly appreciated Thanks, Tim
0
1379
by: Steve | last post by:
If I mute the master volume control, is there anyway my AP can detect dynamically?
0
2486
by: steve | last post by:
I am writing a AP, can anyone help me how can my AP detect user mute/unmute or volume up/down from windows volume control?
2
14447
by: Bob Day | last post by:
Using VS 2003, VB. Net, MSDE... Usining task sheduler, I wish to mute the volume in the .bat file that task scheduler runs (windows XP Pro). I don't see anyway to do this via a .bat line command (if there is, please let me know). So the next option would be to write a small .net program that would do it and run that via task scheduler. How would you mute the volume in code in the vb.net program? I'm not quire sure where to get...
0
3545
by: techspirit | last post by:
Hello , I am looking for help in controlling the volume of a media file in a vb.net application. The code that I currently have (attached below) tries to control the master volume which finally affects all applications opened, whereas I want to control the volume only for my application alone. I have a trackbar control on my form to scroll values and increase/decrease the volume. How would I control the volume for the media file opened...
1
18327
by: Dennis Heavey | last post by:
Windows xp WMP11. How do I mute or set the volume on windows media player with VB6???
4
4440
by: Mugunth | last post by:
Is there anyway to detect whether the user has plugged in his headphones using C#? How?
0
9656
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9967
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5399
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.