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

Unified Diff: modules/audio_coding/audio_network_adaptor/bitrate_controller.h

Issue 3013613002: Added configurable offsets to the per-packet overhead in ANA. (Closed)
Patch Set: Added conversion to size_t in DCHECK. Created 3 years, 3 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
« no previous file with comments | « no previous file | modules/audio_coding/audio_network_adaptor/bitrate_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/audio_coding/audio_network_adaptor/bitrate_controller.h
diff --git a/modules/audio_coding/audio_network_adaptor/bitrate_controller.h b/modules/audio_coding/audio_network_adaptor/bitrate_controller.h
index cad6d6a71b322db165d75e6f7dfec016cb71ece5..601f794b6aac4f789b02f2d71ed9700ec4a3c0d5 100644
--- a/modules/audio_coding/audio_network_adaptor/bitrate_controller.h
+++ b/modules/audio_coding/audio_network_adaptor/bitrate_controller.h
@@ -20,10 +20,15 @@ namespace audio_network_adaptor {
class BitrateController final : public Controller {
public:
struct Config {
- Config(int initial_bitrate_bps, int initial_frame_length_ms);
+ Config(int initial_bitrate_bps,
+ int initial_frame_length_ms,
+ int fl_increase_overhead_offset,
+ int fl_decrease_overhead_offset);
~Config();
int initial_bitrate_bps;
int initial_frame_length_ms;
+ int fl_increase_overhead_offset;
+ int fl_decrease_overhead_offset;
};
explicit BitrateController(const Config& config);
« no previous file with comments | « no previous file | modules/audio_coding/audio_network_adaptor/bitrate_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698