[wdmaudiodev] Re: Need help on KSPROPSETID_Jack implementation.

  • From: "Mitchell Rundle" <mitchr@xxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 10 Mar 2006 09:01:44 -0800

There is no way to customize this, but I'm certainly open to suggestions
for improving what's displayed in the cpl.  What text would you like to
see?
 
Thanks.
Mitch Rundle
Microsoft Corp
 
This posting is provided "AS IS" with no warranties, and confers no
rights.

________________________________

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Kenny Ong
Sent: Thursday, March 09, 2006 11:58 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Need help on KSPROPSETID_Jack implementation.


Hi Mitchell,
 
Thanks for your info and now i'm able to get the jack description
displayed on my speaker endpoint.
 
Btw, just wanted to check is there any way to change or customize the
text that display on the left and right of each color jack ?
(e.g. "L R @ Rear Panel 3.5mm Jack" @ - speaker jack)
 
Personally i don't think the description like "L R" or "RR RL" makes any
sense to a typical end user. And also it'll will be nice if i could
customize them and display some useful information instead...
 
 
Thanks!
Kenny.

Mitchell Rundle <mitchr@xxxxxxxxxxxxx> wrote:

        The documentation for this property is not done yet, but it is
on our radar.  Here's some info to get you started.
         
        Basically, you implement KSPROPERTY_JACK_DESCRIPTION property as
a multi-item, pin-wise property handled through the filter handle.  i.e.
the implementation semantics are the same as for (KSPROPSETID_Topology,
KSPROPERTY_TOPOLOGY_NODES) and (KSPROPSETID_Topology,
KSPROPERTY_TOPOLOGY_CONNECTIONS).  The property should be supported on
bridge-pins that are associated with 1 or more physical jacks.
         
        Your handler should return a buffer of size 
            sizeof(KSMULTIPLE_ITEM) + n * sizeof(KSJACK_DESCRIPTION)
        where n = KSMULTIPLE_ITEM.count = number of jacks for this
bridge pin = number of KSJACK_DESCRIPTION structs. 
         
        The buffer should contain
         
            KSMULTIPLE_ITEM
            KSJACK_DESCRIPTION 0
            KSJACK_DESCRIPTION 1
            ...
            KSJACK_DESCRIPTION n-1
         
        Each KSJACK_DESCRIPTION struct should have info about 1 jack.
The ChannelMapping field refers to the channels that are handled by that
jack only.  e.g. if your devices supports 5.1, then your speaker bridge
pin is probably associated with 3 jacks, so you should have 3
KSJACK_DESCRIPTION structs and each one should have a ChannelMappings
value with 2 bits.
         
        Hopefully this is enough to get you started.  Let me know if you
have any questions.
         
        Regards,
        Mitch Rundle
        Microsoft Corp
         
        This posting is provided "AS IS" with no warranties, and confers
no rights.

________________________________

        From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Kenny Ong
        Sent: Tuesday, March 07, 2006 10:00 PM
        To: wdmaudiodev@xxxxxxxxxxxxx
        Subject: [wdmaudiodev] Need help on KSPROPSETID_Jack
implementation.
        
        
        I'm trying to add Jack description to my audio device so that
Vista will be
        able to display it on the speaker endpoint. Unfortunately, only
manage to
        find the macros and definitions(portcls.h) in the WDK 5308, but
not a single
        sample or doc on it.
        
        Can anyone help?
         
         
        Thanks!
        Kenny.
________________________________

        Yahoo! Mail
        B ring photos to life! New PhotoMail
<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=39174/*http://photomail
.mail.yahoo.com> makes sharing a breeze. 


________________________________

Yahoo! Mail
Bring photos to life! New PhotoMail
<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=39174/*http://photomail
.mail.yahoo.com> makes sharing a breeze. 

Other related posts: