OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
82 | 82 |
83 // Starts AEC dump using an existing file. A maximum file size in bytes can be | 83 // Starts AEC dump using an existing file. A maximum file size in bytes can be |
84 // specified. When the maximum file size is reached, logging is stopped and | 84 // specified. When the maximum file size is reached, logging is stopped and |
85 // the file is closed. If max_size_bytes is set to <= 0, no limit will be | 85 // the file is closed. If max_size_bytes is set to <= 0, no limit will be |
86 // used. | 86 // used. |
87 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes); | 87 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes); |
88 | 88 |
89 // Stops AEC dump. | 89 // Stops AEC dump. |
90 void StopAecDump(); | 90 void StopAecDump(); |
91 | 91 |
92 // Returns the APM config settings. | |
93 webrtc::AudioProcessing::Config GetApmConfig() const { return apm_config_; } | |
the sun
2016/11/22 14:37:53
Rename to GetApmConfigForTest() and remove comment
peah-webrtc
2016/11/22 14:56:05
Done.
| |
94 | |
92 private: | 95 private: |
93 // Every option that is "set" will be applied. Every option not "set" will be | 96 // Every option that is "set" will be applied. Every option not "set" will be |
94 // ignored. This allows us to selectively turn on and off different options | 97 // ignored. This allows us to selectively turn on and off different options |
95 // easily at any time. | 98 // easily at any time. |
96 bool ApplyOptions(const AudioOptions& options); | 99 bool ApplyOptions(const AudioOptions& options); |
97 void SetDefaultDevices(); | 100 void SetDefaultDevices(); |
98 | 101 |
99 // webrtc::TraceCallback: | 102 // webrtc::TraceCallback: |
100 void Print(webrtc::TraceLevel level, const char* trace, int length) override; | 103 void Print(webrtc::TraceLevel level, const char* trace, int length) override; |
101 | 104 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
275 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; | 278 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; |
276 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; | 279 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; |
277 | 280 |
278 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_; | 281 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_; |
279 | 282 |
280 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); | 283 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); |
281 }; | 284 }; |
282 } // namespace cricket | 285 } // namespace cricket |
283 | 286 |
284 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ | 287 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ |
OLD | NEW |