diff options
author | Chris Robinson <[email protected]> | 2018-11-21 15:31:32 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-21 15:31:32 -0800 |
commit | eefc379a239820a0711683455f5fadb20c8dbaf9 (patch) | |
tree | 1e9dbc8f266682cb176d35e235913181f261e025 /OpenAL32 | |
parent | dfcc98afbf574205e11826753f0a2c2abc7b922e (diff) |
Use a unique_ptr for Uhj2Encoder
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 3 |
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}; |