diff options
author | Chris Robinson <[email protected]> | 2020-03-30 16:06:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-03-30 16:06:34 -0700 |
commit | b9f19c6ca27c7363aa82b1cf0970d137d4e450ea (patch) | |
tree | fe5cacf38cf7bf6c2a62ba1c07e6243894be4b6b /alc/backends/base.cpp | |
parent | 662d77159bf9b24b9ef48717547a6d454551bc43 (diff) |
Inline a small helper method
Diffstat (limited to 'alc/backends/base.cpp')
-rw-r--r-- | alc/backends/base.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/alc/backends/base.cpp b/alc/backends/base.cpp index 3a05cb2b..01cc5213 100644 --- a/alc/backends/base.cpp +++ b/alc/backends/base.cpp @@ -14,16 +14,6 @@ #include "atomic.h" -ClockLatency GetClockLatency(ALCdevice *device) -{ - BackendBase *backend{device->Backend.get()}; - ClockLatency ret{backend->getClockLatency()}; - ret.Latency += device->FixedLatency; - return ret; -} - - -/* BackendBase method implementations. */ bool BackendBase::reset() { throw al::backend_exception{ALC_INVALID_DEVICE, "Invalid BackendBase call"}; } |