aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-13 01:39:42 -0800
committerChris Robinson <[email protected]>2018-11-13 01:39:42 -0800
commit09ea1d58f63ad3fe248b1e59c0a3634447ce672d (patch)
tree279fab7458858cec3371ca349aa35a503e1535d6 /Alc
parent74d1337cc74c3fab3622188e55c9234257511ac3 (diff)
Convert the backend base to C++
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c5
-rw-r--r--Alc/backends/base.cpp (renamed from Alc/backends/base.c)5
2 files changed, 5 insertions, 5 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 4e2402ca..cc51a3d7 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1589,6 +1589,11 @@ extern inline void UnlockBufferList(ALCdevice *device);
extern inline ALsizei FrameSizeFromUserFmt(enum UserFmtChannels chans, enum UserFmtType type);
extern inline ALsizei FrameSizeFromFmt(enum FmtChannels chans, enum FmtType type);
+extern inline ALuint64 GetDeviceClockTime(ALCdevice *device);
+extern inline void ALCdevice_Lock(ALCdevice *device);
+extern inline void ALCdevice_Unlock(ALCdevice *device);
+extern inline ClockLatency GetClockLatency(ALCdevice *device);
+
extern inline void alstr_reset(al_string *str);
extern inline size_t alstr_length(const_al_string str);
extern inline ALboolean alstr_empty(const_al_string str);
diff --git a/Alc/backends/base.c b/Alc/backends/base.cpp
index 9d8614b1..8173f554 100644
--- a/Alc/backends/base.c
+++ b/Alc/backends/base.cpp
@@ -9,11 +9,6 @@
#include "backends/base.h"
-extern inline ALuint64 GetDeviceClockTime(ALCdevice *device);
-extern inline void ALCdevice_Lock(ALCdevice *device);
-extern inline void ALCdevice_Unlock(ALCdevice *device);
-extern inline ClockLatency GetClockLatency(ALCdevice *device);
-
/* Base ALCbackend method implementations. */
void ALCbackend_Construct(ALCbackend *self, ALCdevice *device)
{