nvda
32d51251 - Performance logging for checking for preferred device

Commit
5 years ago
Performance logging for checking for preferred device Checking if we are using the preferred device is fast: ~0.20 ms Checking if the preferred device is available (enumerating devices until one with appropriate name is found) is slow: ~3ms This may not be a major problem: - It only happens during the idle unbuffered call. IE. the synth is done playing and there is no pending buffer. - It only happens if not using the preferred device. Possible mitigation: start an async task to check for the preferred device, and when the result is available on a subsequent idle unbuffered call, then switch.
Author
Parents
Loading