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 #ifndef WEBRTC_API_CALL_AUDIO_STATE_H_ | 10 #ifndef WEBRTC_API_CALL_AUDIO_STATE_H_ |
11 #define WEBRTC_API_CALL_AUDIO_STATE_H_ | 11 #define WEBRTC_API_CALL_AUDIO_STATE_H_ |
12 | 12 |
13 #include "webrtc/api/audio/audio_mixer.h" | 13 #include "webrtc/api/audio/audio_mixer.h" |
14 #include "webrtc/base/refcount.h" | 14 #include "webrtc/base/refcount.h" |
15 #include "webrtc/base/scoped_ref_ptr.h" | 15 #include "webrtc/base/scoped_ref_ptr.h" |
16 | 16 |
17 namespace webrtc { | 17 namespace webrtc { |
18 | 18 |
19 class AudioDeviceModule; | |
20 class VoiceEngine; | 19 class VoiceEngine; |
21 | 20 |
22 // WORK IN PROGRESS | 21 // WORK IN PROGRESS |
23 // This class is under development and is not yet intended for for use outside | 22 // This class is under development and is not yet intended for for use outside |
24 // of WebRtc/Libjingle. Please use the VoiceEngine API instead. | 23 // of WebRtc/Libjingle. Please use the VoiceEngine API instead. |
25 // See: https://bugs.chromium.org/p/webrtc/issues/detail?id=4690 | 24 // See: https://bugs.chromium.org/p/webrtc/issues/detail?id=4690 |
26 | 25 |
27 // AudioState holds the state which must be shared between multiple instances of | 26 // AudioState holds the state which must be shared between multiple instances of |
28 // webrtc::Call for audio processing purposes. | 27 // webrtc::Call for audio processing purposes. |
29 class AudioState : public rtc::RefCountInterface { | 28 class AudioState : public rtc::RefCountInterface { |
(...skipping 11 matching lines...) Expand all Loading... |
41 | 40 |
42 // TODO(solenberg): Replace scoped_refptr with shared_ptr once we can use it. | 41 // TODO(solenberg): Replace scoped_refptr with shared_ptr once we can use it. |
43 static rtc::scoped_refptr<AudioState> Create( | 42 static rtc::scoped_refptr<AudioState> Create( |
44 const AudioState::Config& config); | 43 const AudioState::Config& config); |
45 | 44 |
46 virtual ~AudioState() {} | 45 virtual ~AudioState() {} |
47 }; | 46 }; |
48 } // namespace webrtc | 47 } // namespace webrtc |
49 | 48 |
50 #endif // WEBRTC_API_CALL_AUDIO_STATE_H_ | 49 #endif // WEBRTC_API_CALL_AUDIO_STATE_H_ |
OLD | NEW |