[wdmaudiodev] Re: Windows 10 variable sample rate support, WDM driver

  • From: Matthew van Eerde <Matthew.van.Eerde@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 20 Jan 2016 12:54:32 +0000

we send a KSEVENT_PINCAPS_FORMATCHANGE event

Did you confirm this event is actually getting raised - by using tracing, or by 
setting a breakpoint in your event handler and verifying that it gets hit?

Are you raising it on the streaming pin (the one on the wave filter?)

his suggestion was to implement our own version of 
CMiniportWaveRT::DataRangeIntersection

In general you need to write your own DataRangeIntersection implementation if 
any of the following conditions are met:

1.       You support any formats with nChannels > 2

2.       You support any compressed formats

3.       You support stereo but not mono

From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Paul _
Sent: Wednesday, January 20, 2016 4:45 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Windows 10 variable sample rate support, WDM driver

Thank you for your reply Matthew,

Yes, we created them with the same name, and after we have created the new 
drivers, we send a KSEVENT_PINCAPS_FORMATCHANGE event.
We have been talking with a Microsoft Support Escalation Engineer, and his 
suggestion was to implement our own version of 
CMiniportWaveRT::DataRangeIntersection, but we found that DataRangeIntersection 
is never called, this was latter confirmed by the support engineer.

Thanks,
Paul

Other related posts: