[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: Fri, 13 Apr 2018 15:24:26 +0000

Thanks, we’ll take a look.

________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Tom Eckert <teckert@xxxxxxxxxxxxxxxx>
Sent: Friday, April 13, 2018 8:01:14 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Shutdown notification when recording from a service

Good point.  In this case hibernate works like sleep; the active streams all 
get paused before the PowerChangeState() callback.
I should mention that our devices only support D3 and D0.
Regards,
Tom

On 4/13/2018 9:51 AM, HpW-Works Support wrote:
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<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hpw-works.com&data=02%7C01%7Cmatthew.van.eerde%40microsoft.com%7C77bac478b4f74204dc3c08d5a14f9767%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636592285600208249&sdata=YjY6c80gLsUsFo6BYL2Y7xqwfaRnfXav4TOfoVrPPRo%3D&reserved=0>


Am 13. April 2018 14:45:39 schrieb Tom Eckert 
<teckert@xxxxxxxxxxxxxxxx><mailto:teckert@xxxxxxxxxxxxxxxx>:

Here's the link:  
https://aka.ms/Varr10<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2FVarr10&data=02%7C01%7Cmatthew.van.eerde%40microsoft.com%7C77bac478b4f74204dc3c08d5a14f9767%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636592285600208249&sdata=L9fAvCyowEEbiGpQH%2FgtnoD%2BpIndWOEFukMyOK8Nx1Q%3D&reserved=0>

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/<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblogs.msdn.microsoft.com%2Fmatthew_van_eerde%2F2016%2F09%2F26%2Freport-problems-with-logs-and-suggest-features-with-the-feedback-hub%2F&data=02%7C01%7Cmatthew.van.eerde%40microsoft.com%7C77bac478b4f74204dc3c08d5a14f9767%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636592285600208249&sdata=ZHcDpvCGDvEnD52RDWFQRuADd0Vi5ATRSC6dZKUAKXw%3D&reserved=0>



________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx
<wdmaudiodev-bounce@xxxxxxxxxxxxx><mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Tom Eckert <teckert@xxxxxxxxxxxxxxxx><mailto:teckert@xxxxxxxxxxxxxxxx>
Sent: Thursday, April 12, 2018 11:56:39 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto: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: