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

Unified Diff: webrtc/modules/audio_coding/codecs/isac/locked_bandwidth_info.cc

Issue 1208993010: iSAC: Make separate AudioEncoder and AudioDecoder objects (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: review fixes Created 5 years, 4 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_coding/codecs/isac/locked_bandwidth_info.cc
diff --git a/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.cc b/webrtc/modules/audio_coding/codecs/isac/locked_bandwidth_info.cc
similarity index 62%
copy from webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.cc
copy to webrtc/modules/audio_coding/codecs/isac/locked_bandwidth_info.cc
index aecb0ec0ce8b508bdc8c1cff9e073a13eed55583..78b415c4c950224a459759cb681b8f04f807b6b4 100644
--- a/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.cc
+++ b/webrtc/modules/audio_coding/codecs/isac/locked_bandwidth_info.cc
@@ -8,15 +8,15 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h"
-
-#include <vector>
+#include "webrtc/modules/audio_coding/codecs/isac/locked_bandwidth_info.h"
namespace webrtc {
-MockNonlinearBeamformer::MockNonlinearBeamformer(
- const std::vector<Point>& array_geometry)
- : NonlinearBeamformer(array_geometry) {
+LockedIsacBandwidthInfo::LockedIsacBandwidthInfo()
+ : lock_(CriticalSectionWrapper::CreateCriticalSection()) {
+ bwinfo_.in_use = 0;
}
+LockedIsacBandwidthInfo::~LockedIsacBandwidthInfo() = default;
+
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698