diff options
Diffstat (limited to 'alc/backends/base.h')
-rw-r--r-- | alc/backends/base.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alc/backends/base.h b/alc/backends/base.h index d661bc46..a3562f54 100644 --- a/alc/backends/base.h +++ b/alc/backends/base.h @@ -70,9 +70,8 @@ inline std::chrono::nanoseconds GetDeviceClockTime(DeviceBase *device) /* Helper to get the device latency from the backend, including any fixed * latency from post-processing. */ -inline ClockLatency GetClockLatency(DeviceBase *device) +inline ClockLatency GetClockLatency(DeviceBase *device, BackendBase *backend) { - BackendBase *backend{device->Backend.get()}; ClockLatency ret{backend->getClockLatency()}; ret.Latency += device->FixedLatency; return ret; |