Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: talk/media/webrtc/fakewebrtcvoiceengine.h

Issue 1379123002: Removed unused API functions in AudioProcessing and AudioProcessingModule (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/audio_processing_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 webrtc::AudioProcessing::ChannelLayout input_layout, 111 webrtc::AudioProcessing::ChannelLayout input_layout,
112 webrtc::AudioProcessing::ChannelLayout output_layout, 112 webrtc::AudioProcessing::ChannelLayout output_layout,
113 webrtc::AudioProcessing::ChannelLayout reverse_layout)); 113 webrtc::AudioProcessing::ChannelLayout reverse_layout));
114 WEBRTC_STUB(Initialize, ( 114 WEBRTC_STUB(Initialize, (
115 const webrtc::ProcessingConfig& processing_config)); 115 const webrtc::ProcessingConfig& processing_config));
116 116
117 WEBRTC_VOID_FUNC(SetExtraOptions, (const webrtc::Config& config)) { 117 WEBRTC_VOID_FUNC(SetExtraOptions, (const webrtc::Config& config)) {
118 experimental_ns_enabled_ = config.Get<webrtc::ExperimentalNs>().enabled; 118 experimental_ns_enabled_ = config.Get<webrtc::ExperimentalNs>().enabled;
119 } 119 }
120 120
121 WEBRTC_STUB(set_sample_rate_hz, (int rate));
122 WEBRTC_STUB_CONST(input_sample_rate_hz, ());
123 WEBRTC_STUB_CONST(sample_rate_hz, ());
124 WEBRTC_STUB_CONST(proc_sample_rate_hz, ()); 121 WEBRTC_STUB_CONST(proc_sample_rate_hz, ());
125 WEBRTC_STUB_CONST(proc_split_sample_rate_hz, ()); 122 WEBRTC_STUB_CONST(proc_split_sample_rate_hz, ());
126 WEBRTC_STUB_CONST(num_input_channels, ()); 123 WEBRTC_STUB_CONST(num_input_channels, ());
127 WEBRTC_STUB_CONST(num_output_channels, ()); 124 WEBRTC_STUB_CONST(num_output_channels, ());
128 WEBRTC_STUB_CONST(num_reverse_channels, ()); 125 WEBRTC_STUB_CONST(num_reverse_channels, ());
129 WEBRTC_VOID_STUB(set_output_will_be_muted, (bool muted)); 126 WEBRTC_VOID_STUB(set_output_will_be_muted, (bool muted));
130 WEBRTC_BOOL_STUB_CONST(output_will_be_muted, ());
131 WEBRTC_STUB(ProcessStream, (webrtc::AudioFrame* frame)); 127 WEBRTC_STUB(ProcessStream, (webrtc::AudioFrame* frame));
132 WEBRTC_STUB(ProcessStream, ( 128 WEBRTC_STUB(ProcessStream, (
133 const float* const* src, 129 const float* const* src,
134 size_t samples_per_channel, 130 size_t samples_per_channel,
135 int input_sample_rate_hz, 131 int input_sample_rate_hz,
136 webrtc::AudioProcessing::ChannelLayout input_layout, 132 webrtc::AudioProcessing::ChannelLayout input_layout,
137 int output_sample_rate_hz, 133 int output_sample_rate_hz,
138 webrtc::AudioProcessing::ChannelLayout output_layout, 134 webrtc::AudioProcessing::ChannelLayout output_layout,
139 float* const* dest)); 135 float* const* dest));
140 WEBRTC_STUB(ProcessStream, 136 WEBRTC_STUB(ProcessStream,
(...skipping 10 matching lines...) Expand all
151 webrtc::AudioProcessing::ChannelLayout layout)); 147 webrtc::AudioProcessing::ChannelLayout layout));
152 WEBRTC_STUB(ProcessReverseStream, 148 WEBRTC_STUB(ProcessReverseStream,
153 (const float* const* src, 149 (const float* const* src,
154 const webrtc::StreamConfig& reverse_input_config, 150 const webrtc::StreamConfig& reverse_input_config,
155 const webrtc::StreamConfig& reverse_output_config, 151 const webrtc::StreamConfig& reverse_output_config,
156 float* const* dest)); 152 float* const* dest));
157 WEBRTC_STUB(set_stream_delay_ms, (int delay)); 153 WEBRTC_STUB(set_stream_delay_ms, (int delay));
158 WEBRTC_STUB_CONST(stream_delay_ms, ()); 154 WEBRTC_STUB_CONST(stream_delay_ms, ());
159 WEBRTC_BOOL_STUB_CONST(was_stream_delay_set, ()); 155 WEBRTC_BOOL_STUB_CONST(was_stream_delay_set, ());
160 WEBRTC_VOID_STUB(set_stream_key_pressed, (bool key_pressed)); 156 WEBRTC_VOID_STUB(set_stream_key_pressed, (bool key_pressed));
161 WEBRTC_BOOL_STUB_CONST(stream_key_pressed, ());
162 WEBRTC_VOID_STUB(set_delay_offset_ms, (int offset)); 157 WEBRTC_VOID_STUB(set_delay_offset_ms, (int offset));
163 WEBRTC_STUB_CONST(delay_offset_ms, ()); 158 WEBRTC_STUB_CONST(delay_offset_ms, ());
164 WEBRTC_STUB(StartDebugRecording, (const char filename[kMaxFilenameSize])); 159 WEBRTC_STUB(StartDebugRecording, (const char filename[kMaxFilenameSize]));
165 WEBRTC_STUB(StartDebugRecording, (FILE* handle)); 160 WEBRTC_STUB(StartDebugRecording, (FILE* handle));
166 WEBRTC_STUB(StopDebugRecording, ()); 161 WEBRTC_STUB(StopDebugRecording, ());
167 WEBRTC_VOID_STUB(UpdateHistogramsOnCallEnd, ()); 162 WEBRTC_VOID_STUB(UpdateHistogramsOnCallEnd, ());
168 webrtc::EchoCancellation* echo_cancellation() const override { return NULL; } 163 webrtc::EchoCancellation* echo_cancellation() const override { return NULL; }
169 webrtc::EchoControlMobile* echo_control_mobile() const override { 164 webrtc::EchoControlMobile* echo_control_mobile() const override {
170 return NULL; 165 return NULL;
171 } 166 }
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1158 int playout_sample_rate_; 1153 int playout_sample_rate_;
1159 DtmfInfo dtmf_info_; 1154 DtmfInfo dtmf_info_;
1160 FakeAudioProcessing audio_processing_; 1155 FakeAudioProcessing audio_processing_;
1161 }; 1156 };
1162 1157
1163 #undef WEBRTC_CHECK_HEADER_EXTENSION_ID 1158 #undef WEBRTC_CHECK_HEADER_EXTENSION_ID
1164 1159
1165 } // namespace cricket 1160 } // namespace cricket
1166 1161
1167 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_ 1162 #endif // TALK_SESSION_PHONE_FAKEWEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/audio_processing_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698