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

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

Issue 2772773002: Adding cbr support for Opus (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2010 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 return -1; // not found 195 return -1; // not found
196 } 196 }
197 WEBRTC_STUB(SetVADStatus, (int channel, bool enable, webrtc::VadModes mode, 197 WEBRTC_STUB(SetVADStatus, (int channel, bool enable, webrtc::VadModes mode,
198 bool disableDTX)); 198 bool disableDTX));
199 WEBRTC_STUB(GetVADStatus, (int channel, bool& enabled, 199 WEBRTC_STUB(GetVADStatus, (int channel, bool& enabled,
200 webrtc::VadModes& mode, bool& disabledDTX)); 200 webrtc::VadModes& mode, bool& disabledDTX));
201 WEBRTC_STUB(SetFECStatus, (int channel, bool enable)); 201 WEBRTC_STUB(SetFECStatus, (int channel, bool enable));
202 WEBRTC_STUB(GetFECStatus, (int channel, bool& enable)); 202 WEBRTC_STUB(GetFECStatus, (int channel, bool& enable));
203 WEBRTC_STUB(SetOpusMaxPlaybackRate, (int channel, int frequency_hz)); 203 WEBRTC_STUB(SetOpusMaxPlaybackRate, (int channel, int frequency_hz));
204 WEBRTC_STUB(SetOpusDtx, (int channel, bool enable_dtx)); 204 WEBRTC_STUB(SetOpusDtx, (int channel, bool enable_dtx));
205 WEBRTC_STUB(SetOpusCbr, (int channel, bool enable_cbr));
205 206
206 // webrtc::VoEHardware 207 // webrtc::VoEHardware
207 WEBRTC_STUB(GetNumOfRecordingDevices, (int& num)); 208 WEBRTC_STUB(GetNumOfRecordingDevices, (int& num));
208 WEBRTC_STUB(GetNumOfPlayoutDevices, (int& num)); 209 WEBRTC_STUB(GetNumOfPlayoutDevices, (int& num));
209 WEBRTC_STUB(GetRecordingDeviceName, (int i, char* name, char* guid)); 210 WEBRTC_STUB(GetRecordingDeviceName, (int i, char* name, char* guid));
210 WEBRTC_STUB(GetPlayoutDeviceName, (int i, char* name, char* guid)); 211 WEBRTC_STUB(GetPlayoutDeviceName, (int i, char* name, char* guid));
211 WEBRTC_STUB(SetRecordingDevice, (int, webrtc::StereoChannel)); 212 WEBRTC_STUB(SetRecordingDevice, (int, webrtc::StereoChannel));
212 WEBRTC_STUB(SetPlayoutDevice, (int)); 213 WEBRTC_STUB(SetPlayoutDevice, (int));
213 WEBRTC_STUB(SetAudioDeviceLayer, (webrtc::AudioLayers)); 214 WEBRTC_STUB(SetAudioDeviceLayer, (webrtc::AudioLayers));
214 WEBRTC_STUB(GetAudioDeviceLayer, (webrtc::AudioLayers&)); 215 WEBRTC_STUB(GetAudioDeviceLayer, (webrtc::AudioLayers&));
(...skipping 26 matching lines...) Expand all
241 bool fail_create_channel_ = false; 242 bool fail_create_channel_ = false;
242 webrtc::AudioProcessing* apm_ = nullptr; 243 webrtc::AudioProcessing* apm_ = nullptr;
243 webrtc::voe::TransmitMixer* transmit_mixer_ = nullptr; 244 webrtc::voe::TransmitMixer* transmit_mixer_ = nullptr;
244 245
245 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(FakeWebRtcVoiceEngine); 246 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(FakeWebRtcVoiceEngine);
246 }; 247 };
247 248
248 } // namespace cricket 249 } // namespace cricket
249 250
250 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_ 251 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698