Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: webrtc/modules/audio_processing/three_band_filter_bank.h

Issue 1839603002: Remove webrtc::ScopedVector (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/three_band_filter_bank.h
diff --git a/webrtc/modules/audio_processing/three_band_filter_bank.h b/webrtc/modules/audio_processing/three_band_filter_bank.h
index cb9cfbe7b1919a3f689679abb14721dddce500f8..eb9b99ee3b1ffce0de748c29c37d5f3699ebf96b 100644
--- a/webrtc/modules/audio_processing/three_band_filter_bank.h
+++ b/webrtc/modules/audio_processing/three_band_filter_bank.h
@@ -12,10 +12,10 @@
#define WEBRTC_MODULES_AUDIO_PROCESSING_THREE_BAND_FILTER_BANK_H_
#include <cstring>
+#include <memory>
#include <vector>
#include "webrtc/common_audio/sparse_fir_filter.h"
-#include "webrtc/system_wrappers/include/scoped_vector.h"
namespace webrtc {
@@ -58,8 +58,8 @@ class ThreeBandFilterBank final {
std::vector<float> in_buffer_;
std::vector<float> out_buffer_;
- ScopedVector<SparseFIRFilter> analysis_filters_;
- ScopedVector<SparseFIRFilter> synthesis_filters_;
+ std::vector<std::unique_ptr<SparseFIRFilter>> analysis_filters_;
+ std::vector<std::unique_ptr<SparseFIRFilter>> synthesis_filters_;
std::vector<std::vector<float>> dct_modulation_;
};
« no previous file with comments | « webrtc/modules/audio_processing/splitting_filter.cc ('k') | webrtc/modules/audio_processing/three_band_filter_bank.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698