| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 117 |
| 118 WEBRTC_VOID_FUNC(SetExtraOptions, (const webrtc::Config& config)) { | 118 WEBRTC_VOID_FUNC(SetExtraOptions, (const webrtc::Config& config)) { |
| 119 experimental_ns_enabled_ = config.Get<webrtc::ExperimentalNs>().enabled; | 119 experimental_ns_enabled_ = config.Get<webrtc::ExperimentalNs>().enabled; |
| 120 } | 120 } |
| 121 | 121 |
| 122 WEBRTC_STUB(set_sample_rate_hz, (int rate)); | 122 WEBRTC_STUB(set_sample_rate_hz, (int rate)); |
| 123 WEBRTC_STUB_CONST(input_sample_rate_hz, ()); | 123 WEBRTC_STUB_CONST(input_sample_rate_hz, ()); |
| 124 WEBRTC_STUB_CONST(sample_rate_hz, ()); | 124 WEBRTC_STUB_CONST(sample_rate_hz, ()); |
| 125 WEBRTC_STUB_CONST(proc_sample_rate_hz, ()); | 125 WEBRTC_STUB_CONST(proc_sample_rate_hz, ()); |
| 126 WEBRTC_STUB_CONST(proc_split_sample_rate_hz, ()); | 126 WEBRTC_STUB_CONST(proc_split_sample_rate_hz, ()); |
| 127 WEBRTC_STUB_CONST(num_input_channels, ()); | 127 size_t num_input_channels() const override { return 0; } |
| 128 WEBRTC_STUB_CONST(num_output_channels, ()); | 128 size_t num_output_channels() const override { return 0; } |
| 129 WEBRTC_STUB_CONST(num_reverse_channels, ()); | 129 size_t num_reverse_channels() const override { return 0; } |
| 130 WEBRTC_VOID_STUB(set_output_will_be_muted, (bool muted)); | 130 WEBRTC_VOID_STUB(set_output_will_be_muted, (bool muted)); |
| 131 WEBRTC_BOOL_STUB_CONST(output_will_be_muted, ()); | 131 WEBRTC_BOOL_STUB_CONST(output_will_be_muted, ()); |
| 132 WEBRTC_STUB(ProcessStream, (webrtc::AudioFrame* frame)); | 132 WEBRTC_STUB(ProcessStream, (webrtc::AudioFrame* frame)); |
| 133 WEBRTC_STUB(ProcessStream, ( | 133 WEBRTC_STUB(ProcessStream, ( |
| 134 const float* const* src, | 134 const float* const* src, |
| 135 size_t samples_per_channel, | 135 size_t samples_per_channel, |
| 136 int input_sample_rate_hz, | 136 int input_sample_rate_hz, |
| 137 webrtc::AudioProcessing::ChannelLayout input_layout, | 137 webrtc::AudioProcessing::ChannelLayout input_layout, |
| 138 int output_sample_rate_hz, | 138 int output_sample_rate_hz, |
| 139 webrtc::AudioProcessing::ChannelLayout output_layout, | 139 webrtc::AudioProcessing::ChannelLayout output_layout, |
| (...skipping 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1280 DtmfInfo dtmf_info_; | 1280 DtmfInfo dtmf_info_; |
| 1281 webrtc::VoEMediaProcess* media_processor_; | 1281 webrtc::VoEMediaProcess* media_processor_; |
| 1282 FakeAudioProcessing audio_processing_; | 1282 FakeAudioProcessing audio_processing_; |
| 1283 }; | 1283 }; |
| 1284 | 1284 |
| 1285 #undef WEBRTC_CHECK_HEADER_EXTENSION_ID | 1285 #undef WEBRTC_CHECK_HEADER_EXTENSION_ID |
| 1286 | 1286 |
| 1287 } // namespace cricket | 1287 } // namespace cricket |
| 1288 | 1288 |
| 1289 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_ | 1289 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_ |
| OLD | NEW |