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

Unified Diff: webrtc/voice_engine/channel.h

Issue 2429503002: Simplifying audio network adaptor by moving receiver frame length range to ctor. (Closed)
Patch Set: 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/voice_engine/channel.h
diff --git a/webrtc/voice_engine/channel.h b/webrtc/voice_engine/channel.h
index b0725867aa1cc54d975c4ed69c3a46cacb380d4e..a31089cd68c4660d8157b83dc916a23e0a9b8e56 100644
--- a/webrtc/voice_engine/channel.h
+++ b/webrtc/voice_engine/channel.h
@@ -207,10 +207,10 @@ class Channel
int SetOpusMaxPlaybackRate(int frequency_hz);
int SetOpusDtx(bool enable_dtx);
int GetOpusDtx(bool* enabled);
- bool EnableAudioNetworkAdaptor(const std::string& config_string);
+ bool EnableAudioNetworkAdaptor(const std::string& config_string,
+ int min_receiver_frame_length_ms,
+ int max_receiver_frame_length_ms);
void DisableAudioNetworkAdaptor();
- void SetReceiverFrameLengthRange(int min_frame_length_ms,
- int max_frame_length_ms);
// VoENetwork
int32_t RegisterExternalTransport(Transport* transport);

Powered by Google App Engine
This is Rietveld 408576698