Change the backend getLatency method to return the clock time too
commit6d4380a48c28f21d271d4eb5e668443bc8a0f50e
authorChris Robinson <chris.kcat@gmail.com>
Sat, 28 May 2016 07:43:14 +0000 (28 00:43 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sat, 28 May 2016 07:43:14 +0000 (28 00:43 -0700)
tree1c9c9f6a7b19185cce76f75fbb6c37bff4a9fa8f
parent800e38bac68315d372ca1f865c7c448356309f70
Change the backend getLatency method to return the clock time too

This will also allow backends to better synchronize the tracked clock time with
the device output latency, without necessarily needing to lock if the backend
API can allow for it.
15 files changed:
Alc/backends/alsa.c
Alc/backends/base.c
Alc/backends/base.h
Alc/backends/dsound.c
Alc/backends/jack.c
Alc/backends/loopback.c
Alc/backends/mmdevapi.c
Alc/backends/null.c
Alc/backends/oss.c
Alc/backends/portaudio.c
Alc/backends/pulseaudio.c
Alc/backends/solaris.c
Alc/backends/wave.c
Alc/backends/winmm.c
OpenAL32/alSource.c