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 26 matching lines...) Expand all Loading... |
37 const std::string& name)); | 37 const std::string& name)); |
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_CONST_METHOD1(GetDecoderInfo, | 45 MOCK_CONST_METHOD1(GetDecoderInfo, |
46 const DecoderInfo*(uint8_t rtp_payload_type)); | 46 const DecoderInfo*(uint8_t rtp_payload_type)); |
47 MOCK_CONST_METHOD1(GetRtpPayloadType, | |
48 uint8_t(NetEqDecoder codec_type)); | |
49 MOCK_METHOD2(SetActiveDecoder, | 47 MOCK_METHOD2(SetActiveDecoder, |
50 int(uint8_t rtp_payload_type, bool* new_decoder)); | 48 int(uint8_t rtp_payload_type, bool* new_decoder)); |
51 MOCK_CONST_METHOD0(GetActiveDecoder, | 49 MOCK_CONST_METHOD0(GetActiveDecoder, |
52 AudioDecoder*()); | 50 AudioDecoder*()); |
53 MOCK_METHOD1(SetActiveCngDecoder, | 51 MOCK_METHOD1(SetActiveCngDecoder, |
54 int(uint8_t rtp_payload_type)); | 52 int(uint8_t rtp_payload_type)); |
55 MOCK_CONST_METHOD0(GetActiveCngDecoder, | 53 MOCK_CONST_METHOD0(GetActiveCngDecoder, |
56 ComfortNoiseDecoder*()); | 54 ComfortNoiseDecoder*()); |
57 }; | 55 }; |
58 | 56 |
59 } // namespace webrtc | 57 } // namespace webrtc |
60 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_DECODER_DATABASE_H_ | 58 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_DECODER_DATABASE_H_ |
OLD | NEW |