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

  • From: "Yann Hamiaux" <yhamiaux@xxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Sat, 9 Dec 2006 09:27:51 -0500

Hello Andy,
 
To get the differents features supported by the audio card. Get the 
IDeviceTopology from the IAudioEndPoint you are interested into. Then, query 
the connector and the IDeviceTopology from the connector.. you should then be 
able to query all the subunits which will tell you if tehre is mutes, volumes, 
mux... 
 
I found that page beeing very useful to understand the core audio API on Vista.
http://msdn2.microsoft.com/en-gb/library/ms678713.aspx

Regards,
Yann


________________________________

From: wdmaudiodev-bounce@xxxxxxxxxxxxx on behalf of Andy_Wolpert@xxxxxxxxxxxx
Sent: Fri 08/12/2006 7:38 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/



Other related posts: