OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 * - framesize : number of milliseconds per frame (30 or 60) | 372 * - framesize : number of milliseconds per frame (30 or 60) |
373 * | 373 * |
374 * Return value : 0 - ok | 374 * Return value : 0 - ok |
375 * -1 - Error | 375 * -1 - Error |
376 */ | 376 */ |
377 | 377 |
378 int16_t WebRtcIsacfix_Control(ISACFIX_MainStruct *ISAC_main_inst, | 378 int16_t WebRtcIsacfix_Control(ISACFIX_MainStruct *ISAC_main_inst, |
379 int16_t rate, | 379 int16_t rate, |
380 int framesize); | 380 int framesize); |
381 | 381 |
382 | 382 void WebRtcIsacfix_SetInitialBweBottleneck(ISACFIX_MainStruct* ISAC_main_inst, |
| 383 int bottleneck_bits_per_second); |
383 | 384 |
384 /**************************************************************************** | 385 /**************************************************************************** |
385 * WebRtcIsacfix_ControlBwe(...) | 386 * WebRtcIsacfix_ControlBwe(...) |
386 * | 387 * |
387 * This function sets the initial values of bottleneck and frame-size if | 388 * This function sets the initial values of bottleneck and frame-size if |
388 * iSAC is used in channel-adaptive mode. Through this API, users can | 389 * iSAC is used in channel-adaptive mode. Through this API, users can |
389 * enforce a frame-size for all values of bottleneck. Then iSAC will not | 390 * enforce a frame-size for all values of bottleneck. Then iSAC will not |
390 * automatically change the frame-size. | 391 * automatically change the frame-size. |
391 * | 392 * |
392 * | 393 * |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 void WebRtcIsacfix_SetBandwidthInfo(ISACFIX_MainStruct* ISAC_main_inst, | 633 void WebRtcIsacfix_SetBandwidthInfo(ISACFIX_MainStruct* ISAC_main_inst, |
633 const IsacBandwidthInfo* bwinfo); | 634 const IsacBandwidthInfo* bwinfo); |
634 | 635 |
635 #if defined(__cplusplus) | 636 #if defined(__cplusplus) |
636 } | 637 } |
637 #endif | 638 #endif |
638 | 639 |
639 | 640 |
640 | 641 |
641 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INTERFACE_ISACFIX_H_ */ | 642 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INTERFACE_ISACFIX_H_ */ |
OLD | NEW |