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

Unified Diff: webrtc/modules/audio_coding/codecs/isac/bandwidth_info.h

Issue 1208923002: iSAC: Functions for importing and exporting bandwidth est. info (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: review comments Created 5 years, 6 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/bandwidth_info.h
diff --git a/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.cc b/webrtc/modules/audio_coding/codecs/isac/bandwidth_info.h
similarity index 52%
copy from webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.cc
copy to webrtc/modules/audio_coding/codecs/isac/bandwidth_info.h
index aecb0ec0ce8b508bdc8c1cff9e073a13eed55583..1e3f4c9a8683b6f2e7cae4ad51d28031bb35f8d4 100644
--- a/webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.cc
+++ b/webrtc/modules/audio_coding/codecs/isac/bandwidth_info.h
@@ -8,15 +8,17 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h"
+#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_BANDWIDTH_INFO_H_
+#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_BANDWIDTH_INFO_H_
-#include <vector>
+#include "webrtc/typedefs.h"
-namespace webrtc {
+typedef struct {
+ int in_use;
+ int32_t send_bw_avg;
+ int32_t send_max_delay_avg;
+ int16_t bottleneck_idx;
+ int16_t jitter_info;
+} IsacBandwidthInfo;
-MockNonlinearBeamformer::MockNonlinearBeamformer(
- const std::vector<Point>& array_geometry)
- : NonlinearBeamformer(array_geometry) {
-}
-
-} // namespace webrtc
+#endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_BANDWIDTH_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698