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 |
(...skipping 15 matching lines...) Expand all Loading... |
26 MOCK_METHOD0(Die, void()); | 26 MOCK_METHOD0(Die, void()); |
27 MOCK_CONST_METHOD0(Empty, | 27 MOCK_CONST_METHOD0(Empty, |
28 bool()); | 28 bool()); |
29 MOCK_CONST_METHOD0(Size, | 29 MOCK_CONST_METHOD0(Size, |
30 int()); | 30 int()); |
31 MOCK_METHOD0(Reset, | 31 MOCK_METHOD0(Reset, |
32 void()); | 32 void()); |
33 MOCK_METHOD3(RegisterPayload, | 33 MOCK_METHOD3(RegisterPayload, |
34 int(uint8_t rtp_payload_type, NetEqDecoder codec_type, | 34 int(uint8_t rtp_payload_type, NetEqDecoder codec_type, |
35 const std::string& name)); | 35 const std::string& name)); |
36 MOCK_METHOD5(InsertExternal, | 36 MOCK_METHOD4(InsertExternal, |
37 int(uint8_t rtp_payload_type, NetEqDecoder codec_type, | 37 int(uint8_t rtp_payload_type, |
38 const std::string& codec_name, int fs_hz, | 38 NetEqDecoder codec_type, |
39 AudioDecoder* decoder)); | 39 const std::string& codec_name, |
| 40 AudioDecoder* decoder)); |
40 MOCK_METHOD1(Remove, | 41 MOCK_METHOD1(Remove, |
41 int(uint8_t rtp_payload_type)); | 42 int(uint8_t rtp_payload_type)); |
42 MOCK_CONST_METHOD1(GetDecoderInfo, | 43 MOCK_CONST_METHOD1(GetDecoderInfo, |
43 const DecoderInfo*(uint8_t rtp_payload_type)); | 44 const DecoderInfo*(uint8_t rtp_payload_type)); |
44 MOCK_CONST_METHOD1(GetRtpPayloadType, | 45 MOCK_CONST_METHOD1(GetRtpPayloadType, |
45 uint8_t(NetEqDecoder codec_type)); | 46 uint8_t(NetEqDecoder codec_type)); |
46 MOCK_METHOD1(GetDecoder, | 47 MOCK_METHOD1(GetDecoder, |
47 AudioDecoder*(uint8_t rtp_payload_type)); | 48 AudioDecoder*(uint8_t rtp_payload_type)); |
48 MOCK_CONST_METHOD2(IsType, | 49 MOCK_CONST_METHOD2(IsType, |
49 bool(uint8_t rtp_payload_type, NetEqDecoder codec_type)); | 50 bool(uint8_t rtp_payload_type, NetEqDecoder codec_type)); |
(...skipping 10 matching lines...) Expand all Loading... |
60 MOCK_METHOD1(SetActiveCngDecoder, | 61 MOCK_METHOD1(SetActiveCngDecoder, |
61 int(uint8_t rtp_payload_type)); | 62 int(uint8_t rtp_payload_type)); |
62 MOCK_METHOD0(GetActiveCngDecoder, | 63 MOCK_METHOD0(GetActiveCngDecoder, |
63 ComfortNoiseDecoder*()); | 64 ComfortNoiseDecoder*()); |
64 MOCK_CONST_METHOD1(CheckPayloadTypes, | 65 MOCK_CONST_METHOD1(CheckPayloadTypes, |
65 int(const PacketList& packet_list)); | 66 int(const PacketList& packet_list)); |
66 }; | 67 }; |
67 | 68 |
68 } // namespace webrtc | 69 } // namespace webrtc |
69 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_DECODER_DATABASE_H_ | 70 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_DECODER_DATABASE_H_ |
OLD | NEW |