OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 const webrtc::StreamConfig& reverse_input_config, | 150 const webrtc::StreamConfig& reverse_input_config, |
151 const webrtc::StreamConfig& reverse_output_config, | 151 const webrtc::StreamConfig& reverse_output_config, |
152 float* const* dest)); | 152 float* const* dest)); |
153 WEBRTC_STUB(set_stream_delay_ms, (int delay)); | 153 WEBRTC_STUB(set_stream_delay_ms, (int delay)); |
154 WEBRTC_STUB_CONST(stream_delay_ms, ()); | 154 WEBRTC_STUB_CONST(stream_delay_ms, ()); |
155 WEBRTC_BOOL_STUB_CONST(was_stream_delay_set, ()); | 155 WEBRTC_BOOL_STUB_CONST(was_stream_delay_set, ()); |
156 WEBRTC_VOID_STUB(set_stream_key_pressed, (bool key_pressed)); | 156 WEBRTC_VOID_STUB(set_stream_key_pressed, (bool key_pressed)); |
157 WEBRTC_VOID_STUB(set_delay_offset_ms, (int offset)); | 157 WEBRTC_VOID_STUB(set_delay_offset_ms, (int offset)); |
158 WEBRTC_STUB_CONST(delay_offset_ms, ()); | 158 WEBRTC_STUB_CONST(delay_offset_ms, ()); |
159 WEBRTC_STUB(StartDebugRecording, (const char filename[kMaxFilenameSize])); | 159 WEBRTC_STUB(StartDebugRecording, (const char filename[kMaxFilenameSize])); |
| 160 WEBRTC_STUB(StartDebugRecording, |
| 161 (const char filename[kMaxFilenameSize], int max_log_size_bytes)); |
160 WEBRTC_STUB(StartDebugRecording, (FILE* handle)); | 162 WEBRTC_STUB(StartDebugRecording, (FILE* handle)); |
| 163 WEBRTC_STUB(StartDebugRecording, (FILE * handle, int max_log_size_bytes)); |
161 WEBRTC_STUB(StopDebugRecording, ()); | 164 WEBRTC_STUB(StopDebugRecording, ()); |
162 WEBRTC_VOID_STUB(UpdateHistogramsOnCallEnd, ()); | 165 WEBRTC_VOID_STUB(UpdateHistogramsOnCallEnd, ()); |
163 webrtc::EchoCancellation* echo_cancellation() const override { return NULL; } | 166 webrtc::EchoCancellation* echo_cancellation() const override { return NULL; } |
164 webrtc::EchoControlMobile* echo_control_mobile() const override { | 167 webrtc::EchoControlMobile* echo_control_mobile() const override { |
165 return NULL; | 168 return NULL; |
166 } | 169 } |
167 webrtc::GainControl* gain_control() const override { return NULL; } | 170 webrtc::GainControl* gain_control() const override { return NULL; } |
168 webrtc::HighPassFilter* high_pass_filter() const override { return NULL; } | 171 webrtc::HighPassFilter* high_pass_filter() const override { return NULL; } |
169 webrtc::LevelEstimator* level_estimator() const override { return NULL; } | 172 webrtc::LevelEstimator* level_estimator() const override { return NULL; } |
170 webrtc::NoiseSuppression* noise_suppression() const override { return NULL; } | 173 webrtc::NoiseSuppression* noise_suppression() const override { return NULL; } |
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
997 } | 1000 } |
998 WEBRTC_FUNC(GetEcMetricsStatus, (bool& enabled)) { | 1001 WEBRTC_FUNC(GetEcMetricsStatus, (bool& enabled)) { |
999 enabled = ec_metrics_enabled_; | 1002 enabled = ec_metrics_enabled_; |
1000 return 0; | 1003 return 0; |
1001 } | 1004 } |
1002 WEBRTC_STUB(GetEchoMetrics, (int& ERL, int& ERLE, int& RERL, int& A_NLP)); | 1005 WEBRTC_STUB(GetEchoMetrics, (int& ERL, int& ERLE, int& RERL, int& A_NLP)); |
1003 WEBRTC_STUB(GetEcDelayMetrics, (int& delay_median, int& delay_std, | 1006 WEBRTC_STUB(GetEcDelayMetrics, (int& delay_median, int& delay_std, |
1004 float& fraction_poor_delays)); | 1007 float& fraction_poor_delays)); |
1005 | 1008 |
1006 WEBRTC_STUB(StartDebugRecording, (const char* fileNameUTF8)); | 1009 WEBRTC_STUB(StartDebugRecording, (const char* fileNameUTF8)); |
| 1010 WEBRTC_STUB(StartDebugRecording, |
| 1011 (const char* fileNameUTF8, int max_size_bytes)); |
1007 WEBRTC_STUB(StartDebugRecording, (FILE* handle)); | 1012 WEBRTC_STUB(StartDebugRecording, (FILE* handle)); |
| 1013 WEBRTC_STUB(StartDebugRecording, (FILE * handle, int max_size_bytes)); |
1008 WEBRTC_STUB(StopDebugRecording, ()); | 1014 WEBRTC_STUB(StopDebugRecording, ()); |
1009 | 1015 |
1010 WEBRTC_FUNC(SetTypingDetectionStatus, (bool enable)) { | 1016 WEBRTC_FUNC(SetTypingDetectionStatus, (bool enable)) { |
1011 typing_detection_enabled_ = enable; | 1017 typing_detection_enabled_ = enable; |
1012 return 0; | 1018 return 0; |
1013 } | 1019 } |
1014 WEBRTC_FUNC(GetTypingDetectionStatus, (bool& enabled)) { | 1020 WEBRTC_FUNC(GetTypingDetectionStatus, (bool& enabled)) { |
1015 enabled = typing_detection_enabled_; | 1021 enabled = typing_detection_enabled_; |
1016 return 0; | 1022 return 0; |
1017 } | 1023 } |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1118 int playout_sample_rate_; | 1124 int playout_sample_rate_; |
1119 DtmfInfo dtmf_info_; | 1125 DtmfInfo dtmf_info_; |
1120 FakeAudioProcessing audio_processing_; | 1126 FakeAudioProcessing audio_processing_; |
1121 }; | 1127 }; |
1122 | 1128 |
1123 #undef WEBRTC_CHECK_HEADER_EXTENSION_ID | 1129 #undef WEBRTC_CHECK_HEADER_EXTENSION_ID |
1124 | 1130 |
1125 } // namespace cricket | 1131 } // namespace cricket |
1126 | 1132 |
1127 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_ | 1133 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_ |
OLD | NEW |