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/mediastreaminterface.h" | 17 #include "webrtc/api/mediastreaminterface.h" |
18 #include "webrtc/api/notifier.h" | 18 #include "webrtc/api/notifier.h" |
19 #include "webrtc/audio_sink.h" | 19 #include "webrtc/audio/audio_sink.h" |
20 #include "webrtc/base/criticalsection.h" | 20 #include "webrtc/base/criticalsection.h" |
21 #include "webrtc/media/base/audiorenderer.h" | 21 #include "webrtc/media/base/audiorenderer.h" |
22 | 22 |
23 namespace rtc { | 23 namespace rtc { |
24 struct Message; | 24 struct Message; |
25 class Thread; | 25 class Thread; |
26 } // namespace rtc | 26 } // namespace rtc |
27 | 27 |
28 namespace webrtc { | 28 namespace webrtc { |
29 | 29 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 AudioObserverList audio_observers_; | 70 AudioObserverList audio_observers_; |
71 rtc::CriticalSection sink_lock_; | 71 rtc::CriticalSection sink_lock_; |
72 std::list<AudioTrackSinkInterface*> sinks_; | 72 std::list<AudioTrackSinkInterface*> sinks_; |
73 rtc::Thread* const main_thread_; | 73 rtc::Thread* const main_thread_; |
74 SourceState state_; | 74 SourceState state_; |
75 }; | 75 }; |
76 | 76 |
77 } // namespace webrtc | 77 } // namespace webrtc |
78 | 78 |
79 #endif // WEBRTC_API_REMOTEAUDIOSOURCE_H_ | 79 #endif // WEBRTC_API_REMOTEAUDIOSOURCE_H_ |
OLD | NEW |