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

Side by Side Diff: webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc

Issue 1438663003: modules/audio_coding: Remove some codec include dirs (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase again Created 5 years, 1 month 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
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/neteq_performance_test.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 // TODO(hlundin): The functionality in this file should be moved into one or 11 // TODO(hlundin): The functionality in this file should be moved into one or
12 // several classes. 12 // several classes.
13 13
14 #include <assert.h> 14 #include <assert.h>
15 #include <errno.h> 15 #include <errno.h>
16 #include <limits.h> // For ULONG_MAX returned by strtoul. 16 #include <limits.h> // For ULONG_MAX returned by strtoul.
17 #include <stdio.h> 17 #include <stdio.h>
18 #include <stdlib.h> // For strtoul. 18 #include <stdlib.h> // For strtoul.
19 19
20 #include <algorithm> 20 #include <algorithm>
21 #include <iostream> 21 #include <iostream>
22 #include <limits> 22 #include <limits>
23 #include <string> 23 #include <string>
24 24
25 #include "google/gflags.h" 25 #include "google/gflags.h"
26 #include "webrtc/base/checks.h" 26 #include "webrtc/base/checks.h"
27 #include "webrtc/base/safe_conversions.h" 27 #include "webrtc/base/safe_conversions.h"
28 #include "webrtc/base/scoped_ptr.h" 28 #include "webrtc/base/scoped_ptr.h"
29 #include "webrtc/modules/audio_coding/codecs/pcm16b/include/pcm16b.h" 29 #include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h"
30 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" 30 #include "webrtc/modules/audio_coding/neteq/include/neteq.h"
31 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" 31 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h"
32 #include "webrtc/modules/audio_coding/neteq/tools/output_audio_file.h" 32 #include "webrtc/modules/audio_coding/neteq/tools/output_audio_file.h"
33 #include "webrtc/modules/audio_coding/neteq/tools/output_wav_file.h" 33 #include "webrtc/modules/audio_coding/neteq/tools/output_wav_file.h"
34 #include "webrtc/modules/audio_coding/neteq/tools/packet.h" 34 #include "webrtc/modules/audio_coding/neteq/tools/packet.h"
35 #include "webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.h" 35 #include "webrtc/modules/audio_coding/neteq/tools/rtc_event_log_source.h"
36 #include "webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h" 36 #include "webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h"
37 #include "webrtc/modules/include/module_common_types.h" 37 #include "webrtc/modules/include/module_common_types.h"
38 #include "webrtc/system_wrappers/include/trace.h" 38 #include "webrtc/system_wrappers/include/trace.h"
39 #include "webrtc/test/rtp_file_reader.h" 39 #include "webrtc/test/rtp_file_reader.h"
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 } 631 }
632 } 632 }
633 printf("Simulation done\n"); 633 printf("Simulation done\n");
634 printf("Produced %i ms of audio\n", 634 printf("Produced %i ms of audio\n",
635 static_cast<int>(time_now_ms - start_time_ms)); 635 static_cast<int>(time_now_ms - start_time_ms));
636 636
637 delete neteq; 637 delete neteq;
638 webrtc::Trace::ReturnTrace(); 638 webrtc::Trace::ReturnTrace();
639 return 0; 639 return 0;
640 } 640 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/neteq_performance_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698