| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 // encoder and decoder. | 477 // encoder and decoder. |
| 478 int16_t initFlag; | 478 int16_t initFlag; |
| 479 | 479 |
| 480 // Flag to to indicate signal bandwidth switch | 480 // Flag to to indicate signal bandwidth switch |
| 481 int16_t resetFlag_8kHz; | 481 int16_t resetFlag_8kHz; |
| 482 | 482 |
| 483 // Maximum allowed rate, measured in Bytes per 30 ms. | 483 // Maximum allowed rate, measured in Bytes per 30 ms. |
| 484 int16_t maxRateBytesPer30Ms; | 484 int16_t maxRateBytesPer30Ms; |
| 485 // Maximum allowed payload-size, measured in Bytes. | 485 // Maximum allowed payload-size, measured in Bytes. |
| 486 int16_t maxPayloadSizeBytes; | 486 int16_t maxPayloadSizeBytes; |
| 487 /* The expected sampling rate of the input signal. Valid values are 16000, | 487 /* The expected sampling rate of the input signal. Valid values are 16000 |
| 488 * 32000 and 48000. This is not the operation sampling rate of the codec. | 488 * and 32000. This is not the operation sampling rate of the codec. */ |
| 489 * Input signals at 48 kHz are resampled to 32 kHz, then encoded. */ | |
| 490 uint16_t in_sample_rate_hz; | 489 uint16_t in_sample_rate_hz; |
| 491 /* State for the input-resampler. It is only used for 48 kHz input signals. */ | |
| 492 int16_t state_in_resampler[SIZE_RESAMPLER_STATE]; | |
| 493 | 490 |
| 494 // Trig tables for WebRtcIsac_Time2Spec and WebRtcIsac_Spec2time. | 491 // Trig tables for WebRtcIsac_Time2Spec and WebRtcIsac_Spec2time. |
| 495 TransformTables transform_tables; | 492 TransformTables transform_tables; |
| 496 } ISACMainStruct; | 493 } ISACMainStruct; |
| 497 | 494 |
| 498 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_STRUCTS_H_ */ | 495 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_STRUCTS_H_ */ |
| OLD | NEW |