[wdmaudiodev] Shutdown notification when recording from a service

  • From: Tom Eckert <teckert@xxxxxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 12 Apr 2018 14:56:39 -0400

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:
http://www.wdmaudiodev.com/

Other related posts: