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

Side by Side Diff: webrtc/modules/audio_coding/neteq/mock/mock_decoder_database.h

Issue 2355503002: Stopped using the NetEqDecoder enum internally in NetEq. (Closed)
Patch Set: Clarified comments. Created 4 years, 3 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
(...skipping 27 matching lines...) Expand all
38 MOCK_METHOD4(InsertExternal, 38 MOCK_METHOD4(InsertExternal,
39 int(uint8_t rtp_payload_type, 39 int(uint8_t rtp_payload_type,
40 NetEqDecoder codec_type, 40 NetEqDecoder codec_type,
41 const std::string& codec_name, 41 const std::string& codec_name,
42 AudioDecoder* decoder)); 42 AudioDecoder* decoder));
43 MOCK_METHOD1(Remove, 43 MOCK_METHOD1(Remove,
44 int(uint8_t rtp_payload_type)); 44 int(uint8_t rtp_payload_type));
45 MOCK_METHOD0(RemoveAll, void()); 45 MOCK_METHOD0(RemoveAll, void());
46 MOCK_CONST_METHOD1(GetDecoderInfo, 46 MOCK_CONST_METHOD1(GetDecoderInfo,
47 const DecoderInfo*(uint8_t rtp_payload_type)); 47 const DecoderInfo*(uint8_t rtp_payload_type));
48 MOCK_CONST_METHOD1(GetRtpPayloadType,
49 uint8_t(NetEqDecoder codec_type));
50 MOCK_METHOD2(SetActiveDecoder, 48 MOCK_METHOD2(SetActiveDecoder,
51 int(uint8_t rtp_payload_type, bool* new_decoder)); 49 int(uint8_t rtp_payload_type, bool* new_decoder));
52 MOCK_CONST_METHOD0(GetActiveDecoder, 50 MOCK_CONST_METHOD0(GetActiveDecoder,
53 AudioDecoder*()); 51 AudioDecoder*());
54 MOCK_METHOD1(SetActiveCngDecoder, 52 MOCK_METHOD1(SetActiveCngDecoder,
55 int(uint8_t rtp_payload_type)); 53 int(uint8_t rtp_payload_type));
56 MOCK_CONST_METHOD0(GetActiveCngDecoder, 54 MOCK_CONST_METHOD0(GetActiveCngDecoder,
57 ComfortNoiseDecoder*()); 55 ComfortNoiseDecoder*());
58 }; 56 };
59 57
60 } // namespace webrtc 58 } // namespace webrtc
61 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_DECODER_DATABASE_H_ 59 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_DECODER_DATABASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698