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