aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index e6ad849e..06ccd574 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -207,6 +207,7 @@ struct ALbuffer;
struct ALeffect;
struct ALfilter;
struct EffectState;
+struct Uhj2Encoder;
#define DEFAULT_OUTPUT_RATE (44100)
@@ -669,7 +670,7 @@ struct ALCdevice_struct {
ALCenum HrtfStatus{ALC_FALSE};
/* UHJ encoder state */
- struct Uhj2Encoder *Uhj_Encoder{nullptr};
+ std::unique_ptr<Uhj2Encoder> Uhj_Encoder;
/* High quality Ambisonic decoder */
struct BFormatDec *AmbiDecoder{nullptr};