OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 |
11 #ifndef WEBRTC_AUDIO_AUDIO_STATE_H_ | 11 #ifndef WEBRTC_AUDIO_AUDIO_STATE_H_ |
12 #define WEBRTC_AUDIO_AUDIO_STATE_H_ | 12 #define WEBRTC_AUDIO_AUDIO_STATE_H_ |
13 | 13 |
14 #include "webrtc/audio/audio_transport_proxy.h" | 14 #include "webrtc/audio/audio_transport_proxy.h" |
15 #include "webrtc/audio/scoped_voe_interface.h" | 15 #include "webrtc/audio/scoped_voe_interface.h" |
| 16 #include "webrtc/base/constructormagic.h" |
| 17 #include "webrtc/base/criticalsection.h" |
| 18 #include "webrtc/base/thread_checker.h" |
16 #include "webrtc/call/audio_state.h" | 19 #include "webrtc/call/audio_state.h" |
17 #include "webrtc/rtc_base/constructormagic.h" | |
18 #include "webrtc/rtc_base/criticalsection.h" | |
19 #include "webrtc/rtc_base/thread_checker.h" | |
20 #include "webrtc/voice_engine/include/voe_base.h" | 20 #include "webrtc/voice_engine/include/voe_base.h" |
21 | 21 |
22 namespace webrtc { | 22 namespace webrtc { |
23 namespace internal { | 23 namespace internal { |
24 | 24 |
25 class AudioState final : public webrtc::AudioState, | 25 class AudioState final : public webrtc::AudioState, |
26 public webrtc::VoiceEngineObserver { | 26 public webrtc::VoiceEngineObserver { |
27 public: | 27 public: |
28 explicit AudioState(const AudioState::Config& config); | 28 explicit AudioState(const AudioState::Config& config); |
29 ~AudioState() override; | 29 ~AudioState() override; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 // Transports mixed audio from the mixer to the audio device and | 65 // Transports mixed audio from the mixer to the audio device and |
66 // recorded audio to the VoE AudioTransport. | 66 // recorded audio to the VoE AudioTransport. |
67 AudioTransportProxy audio_transport_proxy_; | 67 AudioTransportProxy audio_transport_proxy_; |
68 | 68 |
69 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioState); | 69 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioState); |
70 }; | 70 }; |
71 } // namespace internal | 71 } // namespace internal |
72 } // namespace webrtc | 72 } // namespace webrtc |
73 | 73 |
74 #endif // WEBRTC_AUDIO_AUDIO_STATE_H_ | 74 #endif // WEBRTC_AUDIO_AUDIO_STATE_H_ |
OLD | NEW |