AudioEncoderDecoderIsac: Merge the two config structs
This patch merges the Config and ConfigAdaptive structs, so that iSAC has just one config struct like the other codecs. Future CLs will make use of this. COAUTHOR=henrik.lundin@webrtc.org BUG=4228 R=tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/45979004 Cr-Commit-Position: refs/heads/master@{#9015}
This commit is contained in:
@ -361,6 +361,7 @@ class AudioDecoderIsacFloatTest : public AudioDecoderTest {
|
||||
AudioEncoderDecoderIsac::Config config;
|
||||
config.payload_type = payload_type_;
|
||||
config.sample_rate_hz = codec_input_rate_hz_;
|
||||
config.adaptive_mode = false;
|
||||
config.frame_size_ms =
|
||||
1000 * static_cast<int>(frame_size_) / codec_input_rate_hz_;
|
||||
|
||||
@ -380,6 +381,7 @@ class AudioDecoderIsacSwbTest : public AudioDecoderTest {
|
||||
AudioEncoderDecoderIsac::Config config;
|
||||
config.payload_type = payload_type_;
|
||||
config.sample_rate_hz = codec_input_rate_hz_;
|
||||
config.adaptive_mode = false;
|
||||
config.frame_size_ms =
|
||||
1000 * static_cast<int>(frame_size_) / codec_input_rate_hz_;
|
||||
|
||||
@ -399,6 +401,7 @@ class AudioDecoderIsacFixTest : public AudioDecoderTest {
|
||||
AudioEncoderDecoderIsacFix::Config config;
|
||||
config.payload_type = payload_type_;
|
||||
config.sample_rate_hz = codec_input_rate_hz_;
|
||||
config.adaptive_mode = false;
|
||||
config.frame_size_ms =
|
||||
1000 * static_cast<int>(frame_size_) / codec_input_rate_hz_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user