aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-21 16:46:52 -0800
committerChris Robinson <[email protected]>2018-11-21 16:46:52 -0800
commitcc3e2a838f245770af3d773e8d2c461b9912e392 (patch)
tree1731cb65bf0be9f3de38f90f8730059a6c50ff5c /OpenAL32
parenteefc379a239820a0711683455f5fadb20c8dbaf9 (diff)
Use a unique_ptr for the Compressor
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 06ccd574..41465c1d 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -711,7 +711,7 @@ struct ALCdevice_struct {
struct FrontStablizer *Stablizer{nullptr};
- struct Compressor *Limiter{nullptr};
+ std::unique_ptr<Compressor> Limiter;
/* The average speaker distance as determined by the ambdec configuration
* (or alternatively, by the NFC-HOA reference delay). Only used for NFC.