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