Add logging to the implementation of your method, then look at your logs.
From: K. Weller<mailto:wdmaudio@xxxxxx>
Sent: Friday, October 16, 2020 5:17 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [EXTERNAL] [wdmaudiodev] Re: WavePCI audio stops with unknown reason
Hi again,
I want to step into this again because I debugged a bit further.
I call the GetMapping method
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/portcls/nf-portcls-iportwavepcistream-getmapping<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-hardware%2Fdrivers%2Fddi%2Fportcls%2Fnf-portcls-iportwavepcistream-getmapping&data=04%7C01%7CMatthew.van.Eerde%40microsoft.com%7Ca5b17460afbe47c8c5c808d871cd6882%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637384474345068812%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0rLZRkR5cb7SHlwkaOwslfzrsGK%2FJcq1%2FUmiLIWPRKo%3D&reserved=0>
constantly in my driver. But at one point which I do not know why I will get
the return STATUS_NOT_FOUND.
Documentation tells here: MappingAvaliable will be called which indeed will be
called but the next call to GetMapping returns the same error code and after
this I do not get any MappingAvalilable calls etc. and also GetMapping will
keep returning STATUS_NOT_FOUND.
This happens if I'm correct more often with DirectShow filters and after a
longer time (like 2-3 hours or even more).
Has some one any idea how I can figure out what the reason is why GetMapping
keeps returning STATUS_NOT_FOUND.
Regards,
K. Weller
Hi all,
I have my own audio driver which implements a WavePCI Miniport/Port Driver.
Playback audio works just fine with different sample rates and different
resolution settings.
But sometimes all of the sudden playback will stop and I have no idea
why the User mode application like the Groove Player or others just stop.
From inside the driver a cannot see the reason why. For example I do
not get KSSTATE_STOP or similar notifications.
Is there a good way how the debug and log the "client" to get an idea
why this happen ?
Thanks and best regards,
K. Weller
******************
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/<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wdmaudiodev.com%2F&data=04%7C01%7CMatthew.van.Eerde%40microsoft.com%7Ca5b17460afbe47c8c5c808d871cd6882%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637384474345078804%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=OK4UPN9VxbqTgh7YN%2FPR7KKvGG3dT03FqmuOHrCmKnk%3D&reserved=0>