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 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 WEBRTC_FUNC(SetPlayoutSampleRate, (unsigned int samples_per_sec)) { | 728 WEBRTC_FUNC(SetPlayoutSampleRate, (unsigned int samples_per_sec)) { |
729 playout_sample_rate_ = samples_per_sec; | 729 playout_sample_rate_ = samples_per_sec; |
730 return 0; | 730 return 0; |
731 } | 731 } |
732 WEBRTC_FUNC_CONST(PlayoutSampleRate, (unsigned int* samples_per_sec)) { | 732 WEBRTC_FUNC_CONST(PlayoutSampleRate, (unsigned int* samples_per_sec)) { |
733 *samples_per_sec = playout_sample_rate_; | 733 *samples_per_sec = playout_sample_rate_; |
734 return 0; | 734 return 0; |
735 } | 735 } |
736 WEBRTC_STUB(EnableBuiltInAEC, (bool enable)); | 736 WEBRTC_STUB(EnableBuiltInAEC, (bool enable)); |
737 virtual bool BuiltInAECIsAvailable() const { return false; } | 737 virtual bool BuiltInAECIsAvailable() const { return false; } |
| 738 WEBRTC_STUB(EnableBuiltInAGC, (bool enable)); |
| 739 virtual bool BuiltInAGCIsAvailable() const { return false; } |
| 740 WEBRTC_STUB(EnableBuiltInNS, (bool enable)); |
| 741 virtual bool BuiltInNSIsAvailable() const { return false; } |
738 | 742 |
739 // webrtc::VoENetEqStats | 743 // webrtc::VoENetEqStats |
740 WEBRTC_FUNC(GetNetworkStatistics, (int channel, | 744 WEBRTC_FUNC(GetNetworkStatistics, (int channel, |
741 webrtc::NetworkStatistics& ns)) { | 745 webrtc::NetworkStatistics& ns)) { |
742 WEBRTC_CHECK_CHANNEL(channel); | 746 WEBRTC_CHECK_CHANNEL(channel); |
743 memcpy(&ns, &kNetStats, sizeof(webrtc::NetworkStatistics)); | 747 memcpy(&ns, &kNetStats, sizeof(webrtc::NetworkStatistics)); |
744 return 0; | 748 return 0; |
745 } | 749 } |
746 | 750 |
747 WEBRTC_FUNC_CONST(GetDecodingCallStatistics, (int channel, | 751 WEBRTC_FUNC_CONST(GetDecodingCallStatistics, (int channel, |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1154 int playout_sample_rate_; | 1158 int playout_sample_rate_; |
1155 DtmfInfo dtmf_info_; | 1159 DtmfInfo dtmf_info_; |
1156 FakeAudioProcessing audio_processing_; | 1160 FakeAudioProcessing audio_processing_; |
1157 }; | 1161 }; |
1158 | 1162 |
1159 #undef WEBRTC_CHECK_HEADER_EXTENSION_ID | 1163 #undef WEBRTC_CHECK_HEADER_EXTENSION_ID |
1160 | 1164 |
1161 } // namespace cricket | 1165 } // namespace cricket |
1162 | 1166 |
1163 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_ | 1167 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_ |
OLD | NEW |