diff options
author | Chris Robinson <[email protected]> | 2017-02-18 16:55:48 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-02-18 16:55:48 -0800 |
commit | 2448f88e70f6207ad5743f0a55eaa5de7cbce737 (patch) | |
tree | 135d60ee0a486d70ab5482011041d4a363c78537 /Alc/backends/mmdevapi.c | |
parent | d8c42918f46e2439c81c4d4562df8fa7ad2e01fd (diff) |
Return some device latency by default
A device will never have 0 latency. OpenAL Soft itself uses a sample buffer
length of UpdateSize*NumUpdates, and during playback will have about
(NumUpdates-1) periods filled, more or less. Without a more accurate
measurement from the playback system, this is better than reporting 0.
Diffstat (limited to 'Alc/backends/mmdevapi.c')
0 files changed, 0 insertions, 0 deletions