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 |
11 /****************************************************************** | 11 /****************************************************************** |
12 | 12 |
13 iLBC Speech Coder ANSI-C Source Code | 13 iLBC Speech Coder ANSI-C Source Code |
14 | 14 |
15 iLBC_test.c | 15 iLBC_test.c |
16 | 16 |
17 ******************************************************************/ | 17 ******************************************************************/ |
18 | 18 |
19 #include <stdlib.h> | 19 #include <stdlib.h> |
20 #include <stdio.h> | 20 #include <stdio.h> |
21 #include <string.h> | 21 #include <string.h> |
22 #include "ilbc.h" | 22 #include "webrtc/modules/audio_coding/codecs/ilbc/ilbc.h" |
23 | 23 |
24 /*---------------------------------------------------------------* | 24 /*---------------------------------------------------------------* |
25 * Main program to test iLBC encoding and decoding | 25 * Main program to test iLBC encoding and decoding |
26 * | 26 * |
27 * Usage: | 27 * Usage: |
28 * exefile_name.exe <infile> <bytefile> <outfile> <channel> | 28 * exefile_name.exe <infile> <bytefile> <outfile> <channel> |
29 * | 29 * |
30 * <infile> : Input file, speech for encoder (16-bit pcm file) | 30 * <infile> : Input file, speech for encoder (16-bit pcm file) |
31 * <bytefile> : Bit stream output from the encoder | 31 * <bytefile> : Bit stream output from the encoder |
32 * <outfile> : Output file, decoded speech (16-bit pcm file) | 32 * <outfile> : Output file, decoded speech (16-bit pcm file) |
(...skipping 198 matching lines...) Loading... |
231 | 231 |
232 /* Free structs */ | 232 /* Free structs */ |
233 WebRtcIlbcfix_EncoderFree(Enc_Inst); | 233 WebRtcIlbcfix_EncoderFree(Enc_Inst); |
234 WebRtcIlbcfix_DecoderFree(Dec_Inst); | 234 WebRtcIlbcfix_DecoderFree(Dec_Inst); |
235 | 235 |
236 | 236 |
237 printf("\nDone with simulation\n\n"); | 237 printf("\nDone with simulation\n\n"); |
238 | 238 |
239 return(0); | 239 return(0); |
240 } | 240 } |
OLD | NEW |