diff options
author | Chris Robinson <[email protected]> | 2018-11-15 04:24:33 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-15 04:24:33 -0800 |
commit | 1971d0f5c6c94b250f4b3e29bdfa95c836f900bc (patch) | |
tree | b3af8bbd22fe26ad4db683214911897fae767ae3 /Alc/backends/base.h | |
parent | d4f64b9e29319f56f2ecab1291918a52ec8336f1 (diff) |
Use std::string instead of al_string for enumerating
Diffstat (limited to 'Alc/backends/base.h')
-rw-r--r-- | Alc/backends/base.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/backends/base.h b/Alc/backends/base.h index f8b5f346..360c2ffd 100644 --- a/Alc/backends/base.h +++ b/Alc/backends/base.h @@ -2,10 +2,10 @@ #define AL_BACKENDS_BASE_H #include "alMain.h" -#include "alstring.h" #ifdef __cplusplus +#include <string> #include <mutex> struct ClockLatency { @@ -119,7 +119,7 @@ struct ALCbackendFactoryVtable { ALCboolean (*const querySupport)(ALCbackendFactory *self, ALCbackend_Type type); - void (*const probe)(ALCbackendFactory *self, enum DevProbe type, al_string *outnames); + void (*const probe)(ALCbackendFactory *self, enum DevProbe type, std::string *outnames); ALCbackend* (*const createBackend)(ALCbackendFactory *self, ALCdevice *device, ALCbackend_Type type); }; @@ -128,7 +128,7 @@ struct ALCbackendFactoryVtable { DECLARE_THUNK(T, ALCbackendFactory, ALCboolean, init) \ DECLARE_THUNK(T, ALCbackendFactory, void, deinit) \ DECLARE_THUNK1(T, ALCbackendFactory, ALCboolean, querySupport, ALCbackend_Type) \ -DECLARE_THUNK2(T, ALCbackendFactory, void, probe, enum DevProbe, al_string*) \ +DECLARE_THUNK2(T, ALCbackendFactory, void, probe, enum DevProbe, std::string*) \ DECLARE_THUNK2(T, ALCbackendFactory, ALCbackend*, createBackend, ALCdevice*, ALCbackend_Type) \ \ static const struct ALCbackendFactoryVtable T##_ALCbackendFactory_vtable = { \ |