| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 // ignored. This allows us to selectively turn on and off different options | 96 // ignored. This allows us to selectively turn on and off different options |
| 97 // easily at any time. | 97 // easily at any time. |
| 98 bool ApplyOptions(const AudioOptions& options); | 98 bool ApplyOptions(const AudioOptions& options); |
| 99 void SetDefaultDevices(); | 99 void SetDefaultDevices(); |
| 100 | 100 |
| 101 // webrtc::TraceCallback: | 101 // webrtc::TraceCallback: |
| 102 void Print(webrtc::TraceLevel level, const char* trace, int length) override; | 102 void Print(webrtc::TraceLevel level, const char* trace, int length) override; |
| 103 | 103 |
| 104 void StartAecDump(const std::string& filename); | 104 void StartAecDump(const std::string& filename); |
| 105 int CreateVoEChannel(); | 105 int CreateVoEChannel(); |
| 106 webrtc::AudioDeviceModule* adm(); |
| 106 | 107 |
| 107 rtc::ThreadChecker signal_thread_checker_; | 108 rtc::ThreadChecker signal_thread_checker_; |
| 108 rtc::ThreadChecker worker_thread_checker_; | 109 rtc::ThreadChecker worker_thread_checker_; |
| 109 | 110 |
| 110 // The audio device manager. | 111 // The audio device manager. |
| 111 rtc::scoped_refptr<webrtc::AudioDeviceModule> adm_; | 112 rtc::scoped_refptr<webrtc::AudioDeviceModule> adm_; |
| 112 // The primary instance of WebRtc VoiceEngine. | 113 // The primary instance of WebRtc VoiceEngine. |
| 113 std::unique_ptr<VoEWrapper> voe_wrapper_; | 114 std::unique_ptr<VoEWrapper> voe_wrapper_; |
| 114 rtc::scoped_refptr<webrtc::AudioState> audio_state_; | 115 rtc::scoped_refptr<webrtc::AudioState> audio_state_; |
| 115 std::vector<AudioCodec> codecs_; | 116 std::vector<AudioCodec> codecs_; |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 int cng_payload_type = -1; | 283 int cng_payload_type = -1; |
| 283 int cng_plfreq = -1; | 284 int cng_plfreq = -1; |
| 284 webrtc::CodecInst codec_inst; | 285 webrtc::CodecInst codec_inst; |
| 285 } send_codec_spec_; | 286 } send_codec_spec_; |
| 286 | 287 |
| 287 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); | 288 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); |
| 288 }; | 289 }; |
| 289 } // namespace cricket | 290 } // namespace cricket |
| 290 | 291 |
| 291 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ | 292 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ |
| OLD | NEW |