aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-18 19:28:01 -0800
committerChris Robinson <[email protected]>2018-11-18 19:28:01 -0800
commit140c139852de0bde537de0314e30239832f309f1 (patch)
tree3006aafe758d4264417b317662a45e116af4c161 /OpenAL32
parent2c06ec709324b7aebdb71961a428362cfcafa68f (diff)
Use a standard string for the device's HRTF name
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 11f9d7de..57ecd925 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -621,7 +621,7 @@ struct ALCdevice_struct {
/* HRTF state and info */
struct DirectHrtfState *Hrtf{nullptr};
- char *HrtfName{nullptr};
+ std::string HrtfName;
struct Hrtf *HrtfHandle{nullptr};
al::vector<EnumeratedHrtf> HrtfList;
ALCenum HrtfStatus{ALC_FALSE};