Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Side by Side Diff: webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 // ReleaseTest-API.cpp : Defines the entry point for the console application. 11 // ReleaseTest-API.cpp : Defines the entry point for the console application.
12 // 12 //
13 13
14 #include <stdio.h> 14 #include <stdio.h>
15 #include <stdlib.h> 15 #include <stdlib.h>
16 #include <string.h> 16 #include <string.h>
17 #include <time.h> 17 #include <time.h>
18 #include <ctype.h> 18 #include <ctype.h>
19 #include <iostream> 19 #include <iostream>
20 20
21 /* include API */ 21 /* include API */
22 #include "isac.h" 22 #include "isac.h"
23 #include "utility.h" 23 #include "utility.h"
24 #include "webrtc/base/format_macros.h" 24 #include "webrtc/rtc_base/format_macros.h"
25 25
26 /* Defines */ 26 /* Defines */
27 #define SEED_FILE "randseed.txt" /* Used when running decoder on garbage data */ 27 #define SEED_FILE "randseed.txt" /* Used when running decoder on garbage data */
28 #define MAX_FRAMESAMPLES 960 /* max number of samples per frame 28 #define MAX_FRAMESAMPLES 960 /* max number of samples per frame
29 (= 60 ms frame & 16 kHz) or 29 (= 60 ms frame & 16 kHz) or
30 (= 30 ms frame & 32 kHz) */ 30 (= 30 ms frame & 32 kHz) */
31 #define FRAMESAMPLES_10ms 160 /* number of samples per 10ms frame */ 31 #define FRAMESAMPLES_10ms 160 /* number of samples per 10ms frame */
32 #define SWBFRAMESAMPLES_10ms 320 32 #define SWBFRAMESAMPLES_10ms 320
33 //#define FS 16000 /* sampling frequency (Hz) */ 33 //#define FS 16000 /* sampling frequency (Hz) */
34 34
(...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 fprintf(stderr, " transcoding rate %.0f kbps", 940 fprintf(stderr, " transcoding rate %.0f kbps",
941 (double)numTransCodingBytes * 8.0 * (sampFreqKHz) / totalsmpls); 941 (double)numTransCodingBytes * 8.0 * (sampFreqKHz) / totalsmpls);
942 } 942 }
943 943
944 fclose(inp); 944 fclose(inp);
945 fclose(outp); 945 fclose(outp);
946 WebRtcIsac_Free(ISAC_main_inst); 946 WebRtcIsac_Free(ISAC_main_inst);
947 947
948 exit(0); 948 exit(0);
949 } 949 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/codecs/isac/locked_bandwidth_info.h ('k') | webrtc/modules/audio_coding/codecs/isac/unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698