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 |
11 #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INTERFACE_ISACFIX_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INTERFACE_ISACFIX_H_ |
12 #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INTERFACE_ISACFIX_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INTERFACE_ISACFIX_H_ |
13 | 13 |
14 /* | 14 #include "webrtc/modules/audio_coding/codecs/isac/bandwidth_info.h" |
15 * Define the fixpoint numeric formats | |
16 */ | |
17 #include "webrtc/typedefs.h" | 15 #include "webrtc/typedefs.h" |
18 | 16 |
19 typedef struct { | 17 typedef struct { |
20 void *dummy; | 18 void *dummy; |
21 } ISACFIX_MainStruct; | 19 } ISACFIX_MainStruct; |
22 | 20 |
23 | 21 |
24 #if defined(__cplusplus) | 22 #if defined(__cplusplus) |
25 extern "C" { | 23 extern "C" { |
26 #endif | 24 #endif |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 * This function return the next frame length (in samples) of iSAC. | 617 * This function return the next frame length (in samples) of iSAC. |
620 * | 618 * |
621 * Input: | 619 * Input: |
622 * -ISAC_main_inst : iSAC instance | 620 * -ISAC_main_inst : iSAC instance |
623 * | 621 * |
624 * Return value : frame lenght in samples | 622 * Return value : frame lenght in samples |
625 */ | 623 */ |
626 | 624 |
627 int16_t WebRtcIsacfix_GetNewFrameLen(ISACFIX_MainStruct *ISAC_main_inst); | 625 int16_t WebRtcIsacfix_GetNewFrameLen(ISACFIX_MainStruct *ISAC_main_inst); |
628 | 626 |
| 627 /* Fills in an IsacBandwidthInfo struct. */ |
| 628 void WebRtcIsacfix_GetBandwidthInfo(ISACFIX_MainStruct* ISAC_main_inst, |
| 629 IsacBandwidthInfo* bwinfo); |
| 630 |
| 631 /* Uses the values from an IsacBandwidthInfo struct. */ |
| 632 void WebRtcIsacfix_SetBandwidthInfo(ISACFIX_MainStruct* ISAC_main_inst, |
| 633 const IsacBandwidthInfo* bwinfo); |
629 | 634 |
630 #if defined(__cplusplus) | 635 #if defined(__cplusplus) |
631 } | 636 } |
632 #endif | 637 #endif |
633 | 638 |
634 | 639 |
635 | 640 |
636 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INTERFACE_ISACFIX_H_ */ | 641 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INTERFACE_ISACFIX_H_ */ |
OLD | NEW |