Home
last modified time | relevance | path

Searched refs:prev_config_ (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/modules/audio_coding/audio_network_adaptor/
Daudio_network_adaptor_impl.cc113 if (prev_config_) { in GetEncoderRuntimeConfig()
114 if (config.bitrate_bps != prev_config_->bitrate_bps) { in GetEncoderRuntimeConfig()
117 if (config.enable_dtx != prev_config_->enable_dtx) { in GetEncoderRuntimeConfig()
120 if (config.enable_fec != prev_config_->enable_fec) { in GetEncoderRuntimeConfig()
123 if (config.frame_length_ms && prev_config_->frame_length_ms) { in GetEncoderRuntimeConfig()
124 if (*config.frame_length_ms > *prev_config_->frame_length_ms) { in GetEncoderRuntimeConfig()
126 } else if (*config.frame_length_ms < *prev_config_->frame_length_ms) { in GetEncoderRuntimeConfig()
130 if (config.num_channels != prev_config_->num_channels) { in GetEncoderRuntimeConfig()
137 prev_config_ = config; in GetEncoderRuntimeConfig()
Daudio_network_adaptor_impl.h80 absl::optional<AudioEncoderRuntimeConfig> prev_config_; variable