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

  • From: "HpW-Works Support" <support@xxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 13 Apr 2018 14:51:49 +0100

BTW: may also check a hybernate cycle, while this is a different behavior..

Best Regards

HpW-Works Support

Mailto:support@xxxxxxxxxxxxx
Website:http://www.hpw-works.com

Am 13. April 2018 14:45:39 schrieb Tom Eckert <teckert@xxxxxxxxxxxxxxxx>:
Here's the link:  https://aka.ms/Varr10

Thanks,
Tom

On 4/12/2018 3:19 PM, Matthew van Eerde (Redacted sender Matthew.van.Eerde for DMARC) wrote:
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: