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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 webrtc::AudioProcessing::ChannelLayout input_layout, | 67 webrtc::AudioProcessing::ChannelLayout input_layout, |
68 webrtc::AudioProcessing::ChannelLayout output_layout, | 68 webrtc::AudioProcessing::ChannelLayout output_layout, |
69 webrtc::AudioProcessing::ChannelLayout reverse_layout)); | 69 webrtc::AudioProcessing::ChannelLayout reverse_layout)); |
70 WEBRTC_STUB(Initialize, ( | 70 WEBRTC_STUB(Initialize, ( |
71 const webrtc::ProcessingConfig& processing_config)); | 71 const webrtc::ProcessingConfig& processing_config)); |
72 | 72 |
73 WEBRTC_VOID_FUNC(SetExtraOptions, (const webrtc::Config& config)) { | 73 WEBRTC_VOID_FUNC(SetExtraOptions, (const webrtc::Config& config)) { |
74 experimental_ns_enabled_ = config.Get<webrtc::ExperimentalNs>().enabled; | 74 experimental_ns_enabled_ = config.Get<webrtc::ExperimentalNs>().enabled; |
75 } | 75 } |
76 | 76 |
| 77 WEBRTC_STUB_CONST(input_sample_rate_hz, ()); |
77 WEBRTC_STUB_CONST(proc_sample_rate_hz, ()); | 78 WEBRTC_STUB_CONST(proc_sample_rate_hz, ()); |
78 WEBRTC_STUB_CONST(proc_split_sample_rate_hz, ()); | 79 WEBRTC_STUB_CONST(proc_split_sample_rate_hz, ()); |
79 WEBRTC_STUB_CONST(num_input_channels, ()); | 80 WEBRTC_STUB_CONST(num_input_channels, ()); |
80 WEBRTC_STUB_CONST(num_output_channels, ()); | 81 WEBRTC_STUB_CONST(num_output_channels, ()); |
81 WEBRTC_STUB_CONST(num_reverse_channels, ()); | 82 WEBRTC_STUB_CONST(num_reverse_channels, ()); |
82 WEBRTC_VOID_STUB(set_output_will_be_muted, (bool muted)); | 83 WEBRTC_VOID_STUB(set_output_will_be_muted, (bool muted)); |
83 WEBRTC_STUB(ProcessStream, (webrtc::AudioFrame* frame)); | 84 WEBRTC_STUB(ProcessStream, (webrtc::AudioFrame* frame)); |
84 WEBRTC_STUB(ProcessStream, ( | 85 WEBRTC_STUB(ProcessStream, ( |
85 const float* const* src, | 86 const float* const* src, |
86 size_t samples_per_channel, | 87 size_t samples_per_channel, |
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 int playout_fail_channel_; | 814 int playout_fail_channel_; |
814 int send_fail_channel_; | 815 int send_fail_channel_; |
815 int recording_sample_rate_; | 816 int recording_sample_rate_; |
816 int playout_sample_rate_; | 817 int playout_sample_rate_; |
817 FakeAudioProcessing audio_processing_; | 818 FakeAudioProcessing audio_processing_; |
818 }; | 819 }; |
819 | 820 |
820 } // namespace cricket | 821 } // namespace cricket |
821 | 822 |
822 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_ | 823 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_ |
OLD | NEW |