| 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 27 matching lines...) Expand all Loading... |
| 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_ |
| OLD | NEW |