[wdmaudiodev] Re: KSPROPERTY_PIN_PROPOSEDATAFORMAT/SET is called with invalid data

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 5 Dec 2017 12:18:27 -0800

reg.wad@xxxxxxxxxxxxxx wrote:

Windows 10 (16299, 15063 and maybe earlier versions) issues several
KSPROPERTY_PIN_PROPOSEDATAFORMAT/SET property requests after IRP sink
interface arrival. Some of these requests contain obviously invalid
data.

It's not "obviously invalid data".  As Matthew said, when FormatSize is
less than KSDATAFORMAT_WAVEFORMATEX, then it's not a
KSDATAFORMAT_WAVEFORMATEX, so there is no "associated" WAVEFORMATEX
structure.  It could be trying to explore whether you are generically
willing to handle that particular subformat, without regard to a
specific bit rate.

-- 
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

******************

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: