Add a method to get the clock time from the device
commit4e4b4fcb46f2cbdf0045eedfaabb66c9e1076e4f
authorChris Robinson <chris.kcat@gmail.com>
Sun, 3 Dec 2017 08:23:37 +0000 (3 00:23 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Sun, 3 Dec 2017 08:23:37 +0000 (3 00:23 -0800)
treeeb149da7c979dc1d5adffb7df7009874d349bd60
parent4eca06daa1b5d714312ecc2f0a4b21a9111c6848
Add a method to get the clock time from the device

This is currently a psuedo-clock based on the standard steady_clock, but with
provisions to "pause" when there are no contexts or when pauseDSP() is called.
Eventually, it will utilize an OpenAL extension to get the actual audio
hardware clock (or at least base it on how fast the audio device consumes
samples).
include/AL/alure2.h
src/context.cpp
src/device.cpp
src/device.h