diff options
author | Chris Robinson <[email protected]> | 2023-12-03 14:31:24 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-12-03 14:31:24 -0800 |
commit | 859319fa7864ed6a81af1f12c68627ab58bb7a7d (patch) | |
tree | 325898299b5eca15d729f83bedba049cc2a4a01a /alc/backends/base.h | |
parent | 2c27d8bc756fd4b134aa16ef9901734e1509062b (diff) |
Replace a global function with a member function
Diffstat (limited to 'alc/backends/base.h')
-rw-r--r-- | alc/backends/base.h | 6 |
1 files changed, 0 insertions, 6 deletions
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. */ |