Skip to content

Commit

Permalink
wasapi: Implement workaround for system timer coarse granularity caus…
Browse files Browse the repository at this point in the history
…ing underruns by using timeBeginPeriod/timeEndPeriod APIs inside the Event and Poll thread handlers. Update next sleep time of the Poll rendering loop dynamically depending on time taken for processing/rendering of audio data into the available host buffer to avoid underruns and fit processing time into periodic polling time slots. Added support for time slots logging in Poll mode if PA_WASAPI_LOG_TIME_SLOTS is defined.
  • Loading branch information
dmitrykos committed Oct 1, 2020
1 parent d7c6728 commit c66428e
Showing 1 changed file with 304 additions and 274 deletions.
Loading

0 comments on commit c66428e

Please sign in to comment.