diff options
Diffstat (limited to 'Alc/backends/base.cpp')
-rw-r--r-- | Alc/backends/base.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Alc/backends/base.cpp b/Alc/backends/base.cpp index 8173f554..4a20518d 100644 --- a/Alc/backends/base.cpp +++ b/Alc/backends/base.cpp @@ -9,6 +9,20 @@ #include "backends/base.h" +void ALCdevice_Lock(ALCdevice *device) +{ V0(device->Backend,lock)(); } + +void ALCdevice_Unlock(ALCdevice *device) +{ V0(device->Backend,unlock)(); } + +ClockLatency GetClockLatency(ALCdevice *device) +{ + ClockLatency ret = V0(device->Backend,getClockLatency)(); + ret.Latency += device->FixedLatency; + return ret; +} + + /* Base ALCbackend method implementations. */ void ALCbackend_Construct(ALCbackend *self, ALCdevice *device) { |