[wdmaudiodev] Re: Does a Microphone (Vista Audio Endpoint) have volume and mute controls

  • From: Mitchell Rundle <mitchr@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 11 Dec 2006 10:19:47 -0800

The only case where volume or mute shouldn't work is if both of the following 
are true:

1) the hardware/driver doesn't implement these controls, and
2) you are streaming non-PCM data

If this is not the case and you are not seeing volume and mute functionality 
from the IAudioEndpointVolume interface, then there is a bug.  Please let us 
know if this is the case.

Thanks,
Mitch Rundle
Microsoft

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Andy_Wolpert@xxxxxxxxxxxx
Sent: Friday, December 08, 2006 4:39 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Cc: wdmaudiodev@xxxxxxxxxxxxx; wdmaudiodev-bounce@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Does a Microphone (Vista Audio Endpoint) have volume 
and mute controls

I am using IAudioEndpoint and IAudioEndpointVolume because our program
manages the use of audio devices to make a variety of other programs work
better.

Using the IAudioEndpointVolume interface I have been able to get and set
the value of volume and mute. It works quite well.

However when these features are not implemented, there is no error code
returned from for example SetMute or GetMute.

That is why I needed to find another way to determine if provide these
controls makes sense.

Andy







             Larry Osterman                                             To
             <Larry.Osterman@micr         "wdmaudiodev@xxxxxxxxxxxxx"
             osoft.com>                   <wdmaudiodev@xxxxxxxxxxxxx>
                                                                        cc
             Sent by:
             wdmaudiodev-bounce@f                                  Subject
             reelists.org                 [wdmaudiodev] Re: Does a
                                          Microphone (Vista Audio
                                          Endpoint) have volume and mute
             12/02/2006 09:45 AM          controls


              Please respond to
             wdmaudiodev@freelist
                    s.org






Btw, there is a method called something like "HardwareSupportMask" that
will return whether or not there's a physical hardware control backing the
operation.


-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Frank Yerrace
Sent: Friday, December 01, 2006 3:02 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Does a Microphone (Vista Audio Endpoint) have
volume and mute controls

Do you really need to know if the *hardware* supports these controls? If
the hardware does not support volume or mute controls then the audio system
will provide them through software. You can activate IAudioEndpointVolume
on microphones. See
http://msdn.microsoft.com/library/en-us/CoreAud/htm/endpointvolumeapi.asp.
We expect very few apps to actually need these functions though.

Frank Yerrace
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of
Andy_Wolpert@xxxxxxxxxxxx
Sent: Friday, December 01, 2006 11:48 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Does a Microphone (Vista Audio Endpoint) have volume
and mute controls


I am using the Vista IAudioEndpoint interface to manage microphone
selection, volume and muting.
Is there a way in Vista to determine if the microphone supports these
controls?

Thanks,
Andy

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/


******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: