aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-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 de602d35..3fdd4e02 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -210,6 +210,7 @@ struct EffectState;
struct Uhj2Encoder;
struct BFormatDec;
struct AmbiUpsampler;
+struct bs2b;
#define DEFAULT_OUTPUT_RATE (44100)
@@ -678,7 +679,7 @@ struct ALCdevice_struct {
std::unique_ptr<BFormatDec> AmbiDecoder;
/* Stereo-to-binaural filter */
- struct bs2b *Bs2b{nullptr};
+ std::unique_ptr<bs2b> Bs2b;
/* First-order ambisonic upsampler for higher-order output */
std::unique_ptr<AmbiUpsampler> AmbiUp;