diff options
author | Chris Robinson <[email protected]> | 2018-11-18 21:18:19 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-18 21:18:19 -0800 |
commit | e23796aabe21a065b3fde34e8023a60a4bcb7dc5 (patch) | |
tree | 464e2d5d9947992e9cfa1024f719f62cc5643091 /OpenAL32 | |
parent | 140c139852de0bde537de0314e30239832f309f1 (diff) |
Use a standard string for the enumerated HRTF names
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 57ecd925..e0d1462b 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -528,7 +528,7 @@ TYPEDEF_VECTOR(FilterSubList, vector_FilterSubList) typedef struct EnumeratedHrtf { - char *name; + std::string name; struct HrtfEntry *hrtf; } EnumeratedHrtf; @@ -805,8 +805,6 @@ inline void UnlockFilterList(ALCdevice *device) { almtx_unlock(&device->FilterLo void StartEventThrd(ALCcontext *ctx); void StopEventThrd(ALCcontext *ctx); -char *alstrdup(const char *str); - std::vector<std::string> SearchDataFiles(const char *match, const char *subdir); |