From 859319fa7864ed6a81af1f12c68627ab58bb7a7d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 3 Dec 2023 14:31:24 -0800 Subject: Replace a global function with a member function --- alc/backends/base.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'alc/backends/base.h') diff --git a/alc/backends/base.h b/alc/backends/base.h index f38c1d45..70f96275 100644 --- a/alc/backends/base.h +++ b/alc/backends/base.h @@ -52,12 +52,6 @@ enum class BackendType { }; -/* Helper to get the current clock time from the device's ClockBase, and - * SamplesDone converted from the sample rate. - */ -inline std::chrono::nanoseconds GetDeviceClockTime(const DeviceBase *device) noexcept -{ return device->getClockTime(); } - /* Helper to get the device latency from the backend, including any fixed * latency from post-processing. */ -- cgit v1.2.3