[wdmaudiodev] Re: Vista: multichannel playback

  • From: "Philip Lukidis" <plukidis@xxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 16 Jan 2007 10:26:59 -0500

Hi,

Going by memory, I think he mentioned the property 
KSPROPERTY_PIN_PROPOSEDATAFORMAT and not KSPROPERTY_PIN_DATAINTERSECTION (which 
I guess maps to your DataRangeIntersection method).  My handler for 
KSPROPERTY_PIN_PROPOSEDATAFORMAT is definitely called under Vista, and in that 
case my DataRangeIntersection method is not called at all (except by KSStudio). 
  

For KSNODETYPE_LINE_CONNECTOR, the handler supporting 
KSPROPERTY_PIN_PROPOSEDATAFORMAT should  make sure that the dwChannelMask is 
indeed 0, else refuse it.  For the DatarangeIntersection approach, see the 
PCMEX example (MSVAD) in the WDK.  There you can see how a channel mask is 
being set.  So, in your case, simply set it to 0.

hth,

Philip Lukidis

> -----Original Message-----
> From: wdmaudiodev-bounce@xxxxxxxxxxxxx
> [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx]On Behalf Of Eugene 
> Muzychenko
> Sent: Tuesday, January 16, 2007 6:50 AM
> To: Mitchell Rundle
> Subject: [wdmaudiodev] Re: Vista: multichannel playback
> 
> 
> Hello Mitchell,
> 
> > To make multichannel work with Line Out, just make your handlers
> > for _DATAINTERSECTION and _PROPOSEDATAFORMAT (if you have one)
> > accept formats with WAVEFORMATEXTENSIBLE:: dwChannelMask = 0.
> 
> I have the same problem: I specify KSNODETYPE_LINE_CONNECTOR for the
> output pin category, and Vista offers only two-channel formats. I
> implemented KSPROPERTY_PIN_DATAINTERSECTION handler as you suggested
> by the handler is not be called by PortCls. Instead, PortCls calls
> DataRangeIntersection method of my Wave miniport interface but there
> is no channel mask information in such request.
> 
> Does it mean that I must intercept IOCTL_KS_PROPERTY request 
> in my filter Dispatch
> routine and process it myself, not passing it to PortCls?
> 
> Regards,
> Eugene
> 
> ******************
> 
> 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: