Is it possible to an app that listens to the Windows audio input to let the system save power?

StackOverflow https://stackoverflow.com/questions/3751256

  •  04-10-2019
  •  | 
  •  

문제

From the moment we call Win API's WaveInOpen method the system won't sleep nor hibernate until this stream is closed. Is there any workaround for this?

도움이 되었습니까?

해결책

Wild guess: try calling SetThreadExecutionState(ES_CONTINUOUS) on the same thread that called WaveInOpen.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top