| Index: webrtc/modules/audio_processing/intelligibility/intelligibility_utils.h
|
| diff --git a/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.h b/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.h
|
| index 3805a0cd1556c4a5da1dd266a200740516f9f020..11b9e49bd44d681722b79983351ba966a0b4ec42 100644
|
| --- a/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.h
|
| +++ b/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.h
|
| @@ -12,7 +12,6 @@
|
| #define WEBRTC_MODULES_AUDIO_PROCESSING_INTELLIGIBILITY_INTELLIGIBILITY_UTILS_H_
|
|
|
| #include <complex>
|
| -#include <memory>
|
| #include <vector>
|
|
|
| namespace webrtc {
|
| @@ -55,13 +54,13 @@ class GainApplier {
|
| std::complex<float>* out_block);
|
|
|
| // Return the current target gain set. Modify this array to set the targets.
|
| - float* target() const { return target_.get(); }
|
| + float* target() { return target_.data(); }
|
|
|
| private:
|
| const size_t num_freqs_;
|
| const float relative_change_limit_;
|
| - std::unique_ptr<float[]> target_;
|
| - std::unique_ptr<float[]> current_;
|
| + std::vector<float> target_;
|
| + std::vector<float> current_;
|
| };
|
|
|
| } // namespace intelligibility
|
|
|