| OLD | NEW |
| 1 /* | 1 /* |
| 2 * SpanDSP - a series of DSP components for telephony | 2 * SpanDSP - a series of DSP components for telephony |
| 3 * | 3 * |
| 4 * g722.h - The ITU G.722 codec. | 4 * g722.h - The ITU G.722 codec. |
| 5 * | 5 * |
| 6 * Written by Steve Underwood <steveu@coppice.org> | 6 * Written by Steve Underwood <steveu@coppice.org> |
| 7 * | 7 * |
| 8 * Copyright (C) 2005 Steve Underwood | 8 * Copyright (C) 2005 Steve Underwood |
| 9 * | 9 * |
| 10 * Despite my general liking of the GPL, I place my own contributions | 10 * Despite my general liking of the GPL, I place my own contributions |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 } G722DecoderState; | 132 } G722DecoderState; |
| 133 | 133 |
| 134 #ifdef __cplusplus | 134 #ifdef __cplusplus |
| 135 extern "C" { | 135 extern "C" { |
| 136 #endif | 136 #endif |
| 137 | 137 |
| 138 G722EncoderState* WebRtc_g722_encode_init(G722EncoderState* s, | 138 G722EncoderState* WebRtc_g722_encode_init(G722EncoderState* s, |
| 139 int rate, | 139 int rate, |
| 140 int options); | 140 int options); |
| 141 int WebRtc_g722_encode_release(G722EncoderState *s); | 141 int WebRtc_g722_encode_release(G722EncoderState *s); |
| 142 int WebRtc_g722_encode(G722EncoderState *s, | 142 size_t WebRtc_g722_encode(G722EncoderState *s, |
| 143 uint8_t g722_data[], | 143 uint8_t g722_data[], |
| 144 const int16_t amp[], | 144 const int16_t amp[], |
| 145 int len); | 145 size_t len); |
| 146 | 146 |
| 147 G722DecoderState* WebRtc_g722_decode_init(G722DecoderState* s, | 147 G722DecoderState* WebRtc_g722_decode_init(G722DecoderState* s, |
| 148 int rate, | 148 int rate, |
| 149 int options); | 149 int options); |
| 150 int WebRtc_g722_decode_release(G722DecoderState *s); | 150 int WebRtc_g722_decode_release(G722DecoderState *s); |
| 151 int WebRtc_g722_decode(G722DecoderState *s, | 151 size_t WebRtc_g722_decode(G722DecoderState *s, |
| 152 int16_t amp[], | 152 int16_t amp[], |
| 153 const uint8_t g722_data[], | 153 const uint8_t g722_data[], |
| 154 int len); | 154 size_t len); |
| 155 | 155 |
| 156 #ifdef __cplusplus | 156 #ifdef __cplusplus |
| 157 } | 157 } |
| 158 #endif | 158 #endif |
| 159 | 159 |
| 160 #endif | 160 #endif |
| OLD | NEW |