OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2014 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_API_REMOTEAUDIOSOURCE_H_ | 11 #ifndef WEBRTC_API_REMOTEAUDIOSOURCE_H_ |
12 #define WEBRTC_API_REMOTEAUDIOSOURCE_H_ | 12 #define WEBRTC_API_REMOTEAUDIOSOURCE_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 #include <string> | 15 #include <string> |
16 | 16 |
| 17 #include "webrtc/api/audio/audio_sink.h" |
17 #include "webrtc/api/mediastreaminterface.h" | 18 #include "webrtc/api/mediastreaminterface.h" |
18 #include "webrtc/api/notifier.h" | 19 #include "webrtc/api/notifier.h" |
19 #include "webrtc/audio_sink.h" | |
20 #include "webrtc/base/criticalsection.h" | 20 #include "webrtc/base/criticalsection.h" |
21 | 21 |
22 namespace rtc { | 22 namespace rtc { |
23 struct Message; | 23 struct Message; |
24 class Thread; | 24 class Thread; |
25 } // namespace rtc | 25 } // namespace rtc |
26 | 26 |
27 namespace webrtc { | 27 namespace webrtc { |
28 | 28 |
29 class AudioProviderInterface; | 29 class AudioProviderInterface; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 AudioObserverList audio_observers_; | 69 AudioObserverList audio_observers_; |
70 rtc::CriticalSection sink_lock_; | 70 rtc::CriticalSection sink_lock_; |
71 std::list<AudioTrackSinkInterface*> sinks_; | 71 std::list<AudioTrackSinkInterface*> sinks_; |
72 rtc::Thread* const main_thread_; | 72 rtc::Thread* const main_thread_; |
73 SourceState state_; | 73 SourceState state_; |
74 }; | 74 }; |
75 | 75 |
76 } // namespace webrtc | 76 } // namespace webrtc |
77 | 77 |
78 #endif // WEBRTC_API_REMOTEAUDIOSOURCE_H_ | 78 #endif // WEBRTC_API_REMOTEAUDIOSOURCE_H_ |
OLD | NEW |