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

  • From: Andy_Wolpert@xxxxxxxxxxxx
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 8 Dec 2006 16:38:35 -0800

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/

Other related posts: