[wdmaudiodev] Re: Shutdown notification when recording from a service

  • From: "Matthew van Eerde" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "Matthew.van.Eerde" for DMARC)
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 12 Apr 2018 19:19:05 +0000

From your description, it would seem you have found a bug in portcls; can you 
file a problem report in Feedback Hub and send me a link?



https://blogs.msdn.microsoft.com/matthew_van_eerde/2016/09/26/report-problems-with-logs-and-suggest-features-with-the-feedback-hub/



________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Tom Eckert <teckert@xxxxxxxxxxxxxxxx>
Sent: Thursday, April 12, 2018 11:56:39 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Shutdown notification when recording from a service

We have a customer that uses a recording app that is implemented as a
service.  The problem is that they get BSOD on shutdown. From the logs I
can see that the streams are still running when our
IAdapterPowerManagement::PowerChangeState() gets called.

The documentation states that PortCls will pause any running streams
before calling PowerChangeState() so is it expected that this would not
be the case for a service?

I've asked the customer to modify their service code to handle
SERVICE_CONTROL_SHUTDOWN and stop recorders but I suspect I may need to
handle this case anyway.

Regards,

Tom



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

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:
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wdmaudiodev.com%2F&data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C68235ac4693a453df8b708d5a0a74fb6%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636591562827309741&sdata=9me7NTbPGMHiCaWZMzVqBMD5LCe6yGUmoHHam9vAhLc%3D&reserved=0

Other related posts: