[wdmaudiodev] Re: speaker configuration and KSPROPERTY_PIN_PROPOSEDATAFORMAT

  • From: Mitchell Rundle <mitchr@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 9 Nov 2006 08:03:27 -0800

Is there just one host pin (I/O pin) that serves both the speaker and the 
headphone bridge pins?

Regards,
Mitch Rundle
Microsoft

________________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx [wdmaudiodev-bounce@xxxxxxxxxxxxx] On 
Behalf Of Philip Lukidis [plukidis@xxxxxxxxxxxxx]
Sent: Wednesday, November 08, 2006 3:45 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: speaker configuration and 
KSPROPERTY_PIN_PROPOSEDATAFORMAT

Replying to myself to add some information:

For my speakers endpoint, I do receive a KSPROPERTY_AUDIO_CHANNEL_CONFIG call, 
which is want I want to use to replace our older proprietary speaking 
configuration.  However, since I cannot select the "configure" button for my 
headphones endpoint, I never receive a KSPROPERTY_AUDIO_CHANNEL_CONFIG call.  
It is imperative that I receive this in order that I know which endpoint has 
been selected by the user (headphones in this case).

Has anyone managed to receive a KSPROPERTY_AUDIO_CHANNEL_CONFIG call for a 
headphones (KSNODETYPE_HEADPHONES) endpoint?

thanks for any help,

Philip Lukidis

> -----Original Message-----
> From: wdmaudiodev-bounce@xxxxxxxxxxxxx
> [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx]On Behalf Of Philip Lukidis
> Sent: Wednesday, November 08, 2006 3:20 PM
> To: wdmaudiodev@xxxxxxxxxxxxx
> Subject: [wdmaudiodev] speaker configuration and
> KSPROPERTY_PIN_PROPOSEDATAFORMAT
>
>
> Hello.  Concerning our WDM audio device, which supports
> multichannel and headphones, I am trying to move away from
> our proprietary speaker configuration and work with the new
> Vista settings.  Towards that endeavour, I now support
> KSPROPERTY_PIN_PROPOSEDATAFORMAT on the filter (supporting it
> in the pins does not work at all for some reason, why?).
> This is so that we succeed whatever formats we support, and
> the Vista settings list our speaker configurations for the
> user to select.
>
> Setting the speaker configuration (except headphones, which
> is a different endpoint) seems to work fine- when the user
> selects the speaker configuration, we receive a
> KSPROPERTY_PIN_PROPOSEDATAFORMAT request with user selected
> configuration.  However, I have the following questions:
> a) I am not able to get the pin except by checking the IRP in
> a try except handler, and extracting the KS_PIN structure.
> Is there a better way?
> b) How do I get notified if the user selects headphones?  So
> far I never get called if I select the headphones endpoint.
> c) (somewhat OT) When I start playback, I get a call to my
> KSPROPERTY_PIN_PROPOSEDATAFORMAT handler, but the
> WAVE_FORMAT_EX structure seems a bit corrupt- the subformat
> is not KSDATAFORMAT_SUBTYPE_PCM, but something else
> (00000055-0000-0010-8000-00aa00389b71).  What does this represent?
>
> Am I approaching this problem the wrong way?  Thanks for any help,
>
> Philip Lukidis
> ******************
>
> 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: