aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/base.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-03-30 16:06:34 -0700
committerChris Robinson <[email protected]>2020-03-30 16:06:34 -0700
commitb9f19c6ca27c7363aa82b1cf0970d137d4e450ea (patch)
treefe5cacf38cf7bf6c2a62ba1c07e6243894be4b6b /alc/backends/base.cpp
parent662d77159bf9b24b9ef48717547a6d454551bc43 (diff)
Inline a small helper method
Diffstat (limited to 'alc/backends/base.cpp')
-rw-r--r--alc/backends/base.cpp10
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"}; }