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

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

Issue 2668523004: Move AudioDecoder and related stuff to the api/ directory (Closed)
Patch Set: more review fixes Created 3 years, 10 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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 #include "webrtc/modules/audio_coding/neteq/tools/neteq_test.h" 11 #include "webrtc/modules/audio_coding/neteq/tools/neteq_test.h"
12 12
13 #include <iostream> 13 #include <iostream>
14 14
15 #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" 15 #include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h"
16 16
17 namespace webrtc { 17 namespace webrtc {
18 namespace test { 18 namespace test {
19 19
20 void DefaultNetEqTestErrorCallback::OnInsertPacketError( 20 void DefaultNetEqTestErrorCallback::OnInsertPacketError(
21 int error_code, 21 int error_code,
22 const NetEqInput::PacketData& packet) { 22 const NetEqInput::PacketData& packet) {
23 if (error_code == NetEq::kUnknownRtpPayloadType) { 23 if (error_code == NetEq::kUnknownRtpPayloadType) {
24 std::cerr << "RTP Payload type " 24 std::cerr << "RTP Payload type "
25 << static_cast<int>(packet.header.header.payloadType) 25 << static_cast<int>(packet.header.header.payloadType)
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 neteq_->RegisterExternalDecoder(c.second.decoder, c.second.codec, 127 neteq_->RegisterExternalDecoder(c.second.decoder, c.second.codec,
128 c.second.codec_name, c.first), 128 c.second.codec_name, c.first),
129 NetEq::kOK) 129 NetEq::kOK)
130 << "Cannot register " << c.second.codec_name << " to payload type " 130 << "Cannot register " << c.second.codec_name << " to payload type "
131 << c.first; 131 << c.first;
132 } 132 }
133 } 133 }
134 134
135 } // namespace test 135 } // namespace test
136 } // namespace webrtc 136 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc ('k') | webrtc/modules/audio_coding/test/TwoWayCommunication.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698