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 17 matching lines...) Expand all Loading... |
28 MOCK_METHOD0(Die, void()); | 28 MOCK_METHOD0(Die, void()); |
29 MOCK_CONST_METHOD0(Empty, | 29 MOCK_CONST_METHOD0(Empty, |
30 bool()); | 30 bool()); |
31 MOCK_CONST_METHOD0(Size, | 31 MOCK_CONST_METHOD0(Size, |
32 int()); | 32 int()); |
33 MOCK_METHOD0(Reset, | 33 MOCK_METHOD0(Reset, |
34 void()); | 34 void()); |
35 MOCK_METHOD3(RegisterPayload, | 35 MOCK_METHOD3(RegisterPayload, |
36 int(uint8_t rtp_payload_type, NetEqDecoder codec_type, | 36 int(uint8_t rtp_payload_type, NetEqDecoder codec_type, |
37 const std::string& name)); | 37 const std::string& name)); |
| 38 MOCK_METHOD2(RegisterPayload, |
| 39 int(int rtp_payload_type, const SdpAudioFormat& audio_format)); |
38 MOCK_METHOD4(InsertExternal, | 40 MOCK_METHOD4(InsertExternal, |
39 int(uint8_t rtp_payload_type, | 41 int(uint8_t rtp_payload_type, |
40 NetEqDecoder codec_type, | 42 NetEqDecoder codec_type, |
41 const std::string& codec_name, | 43 const std::string& codec_name, |
42 AudioDecoder* decoder)); | 44 AudioDecoder* decoder)); |
43 MOCK_METHOD1(Remove, | 45 MOCK_METHOD1(Remove, |
44 int(uint8_t rtp_payload_type)); | 46 int(uint8_t rtp_payload_type)); |
45 MOCK_METHOD0(RemoveAll, void()); | 47 MOCK_METHOD0(RemoveAll, void()); |
46 MOCK_CONST_METHOD1(GetDecoderInfo, | 48 MOCK_CONST_METHOD1(GetDecoderInfo, |
47 const DecoderInfo*(uint8_t rtp_payload_type)); | 49 const DecoderInfo*(uint8_t rtp_payload_type)); |
48 MOCK_METHOD2(SetActiveDecoder, | 50 MOCK_METHOD2(SetActiveDecoder, |
49 int(uint8_t rtp_payload_type, bool* new_decoder)); | 51 int(uint8_t rtp_payload_type, bool* new_decoder)); |
50 MOCK_CONST_METHOD0(GetActiveDecoder, | 52 MOCK_CONST_METHOD0(GetActiveDecoder, |
51 AudioDecoder*()); | 53 AudioDecoder*()); |
52 MOCK_METHOD1(SetActiveCngDecoder, | 54 MOCK_METHOD1(SetActiveCngDecoder, |
53 int(uint8_t rtp_payload_type)); | 55 int(uint8_t rtp_payload_type)); |
54 MOCK_CONST_METHOD0(GetActiveCngDecoder, | 56 MOCK_CONST_METHOD0(GetActiveCngDecoder, |
55 ComfortNoiseDecoder*()); | 57 ComfortNoiseDecoder*()); |
56 }; | 58 }; |
57 | 59 |
58 } // namespace webrtc | 60 } // namespace webrtc |
59 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_DECODER_DATABASE_H_ | 61 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_DECODER_DATABASE_H_ |
OLD | NEW |