diff options
Diffstat (limited to 'Alc/backends/base.h')
-rw-r--r-- | Alc/backends/base.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/Alc/backends/base.h b/Alc/backends/base.h index 03db56e9..bf60a744 100644 --- a/Alc/backends/base.h +++ b/Alc/backends/base.h @@ -156,20 +156,10 @@ ALCbackendFactory *ALCsdl2BackendFactory_getFactory(void); ALCbackendFactory *ALCloopbackFactory_getFactory(void); -inline void ALCdevice_Lock(ALCdevice *device) -{ V0(device->Backend,lock)(); } - -inline void ALCdevice_Unlock(ALCdevice *device) -{ V0(device->Backend,unlock)(); } - - -inline ClockLatency GetClockLatency(ALCdevice *device) -{ - ClockLatency ret = V0(device->Backend,getClockLatency)(); - ret.Latency += device->FixedLatency; - return ret; -} +void ALCdevice_Lock(ALCdevice *device); +void ALCdevice_Unlock(ALCdevice *device); +ClockLatency GetClockLatency(ALCdevice *device); #ifdef __cplusplus } /* extern "C" */ |