Return some device latency by default
commit2448f88e70f6207ad5743f0a55eaa5de7cbce737
authorChris Robinson <chris.kcat@gmail.com>
Sun, 19 Feb 2017 00:55:48 +0000 (18 16:55 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Sun, 19 Feb 2017 00:55:48 +0000 (18 16:55 -0800)
tree135d60ee0a486d70ab5482011041d4a363c78537
parentd8c42918f46e2439c81c4d4562df8fa7ad2e01fd
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.
Alc/backends/base.c