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

Unified Diff: webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.cc

Issue 2429503002: Simplifying audio network adaptor by moving receiver frame length range to ctor. (Closed)
Patch Set: do not touch ACM/VoE Created 4 years, 2 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/audio_network_adaptor/controller_manager.cc
diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.cc b/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.cc
index 5343acebd8857f2f32f81483ab09a65d18979df2..3580142032fc04f9b008c2958737d0c95fc73b47 100644
--- a/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.cc
+++ b/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.cc
@@ -142,7 +142,7 @@ ControllerManagerImpl::Config::~Config() = default;
std::unique_ptr<ControllerManager> ControllerManagerImpl::Create(
const std::string& config_string,
size_t num_encoder_channels,
- rtc::ArrayView<const int> encoder_frame_lengths_ms,
+ const std::vector<int>& encoder_frame_lengths_ms,
kwiberg-webrtc 2016/10/19 09:12:01 Why did you make this change?
minyue-webrtc 2016/10/19 09:25:54 Because it is easier to construct a vector at the
kwiberg-webrtc 2016/10/19 10:43:33 Well, marginally---given an ArrayView av, you shou
minyue-webrtc 2016/10/21 08:26:29 Ok. thanks, yes. I'd changed it back.
size_t intial_channels_to_encode,
int initial_frame_length_ms,
int initial_bitrate_bps,

Powered by Google App Engine
This is Rietveld 408576698