Convert the backend base to C++
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
+1
-1
@@ -1028,7 +1028,7 @@ ENDIF()
|
||||
|
||||
SET(BACKENDS "")
|
||||
SET(ALC_OBJS ${ALC_OBJS}
|
||||
Alc/backends/base.c
|
||||
Alc/backends/base.cpp
|
||||
Alc/backends/base.h
|
||||
# Default backends, always available
|
||||
Alc/backends/loopback.cpp
|
||||
|
||||
Reference in New Issue
Block a user