| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_LOCAL_AUDIO_TRACK_ADAPTER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_LOCAL_AUDIO_TRACK_ADAPTER_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_LOCAL_AUDIO_TRACK_ADAPTER_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_LOCAL_AUDIO_TRACK_ADAPTER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
| 12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
| 13 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
| 14 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
| 15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
| 16 #include "third_party/libjingle/source/talk/app/webrtc/mediastreamtrack.h" | 16 #include "third_party/libjingle/source/talk/app/webrtc/mediastreamtrack.h" |
| 17 #include "third_party/libjingle/source/talk/media/base/audiorenderer.h" | 17 #include "third_party/webrtc/media/base/audiorenderer.h" |
| 18 | 18 |
| 19 namespace cricket { | 19 namespace cricket { |
| 20 class AudioRenderer; | 20 class AudioRenderer; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace webrtc { | 23 namespace webrtc { |
| 24 class AudioSourceInterface; | 24 class AudioSourceInterface; |
| 25 class AudioProcessorInterface; | 25 class AudioProcessorInterface; |
| 26 } | 26 } |
| 27 | 27 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 base::ThreadChecker signaling_thread_checker_; | 100 base::ThreadChecker signaling_thread_checker_; |
| 101 base::ThreadChecker capture_thread_; | 101 base::ThreadChecker capture_thread_; |
| 102 | 102 |
| 103 // Protects |voe_channels_|, |audio_processor_| and |signal_level_|. | 103 // Protects |voe_channels_|, |audio_processor_| and |signal_level_|. |
| 104 mutable base::Lock lock_; | 104 mutable base::Lock lock_; |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 } // namespace content | 107 } // namespace content |
| 108 | 108 |
| 109 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_LOCAL_AUDIO_TRACK_ADAPTER_H_ | 109 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_LOCAL_AUDIO_TRACK_ADAPTER_H_ |
| OLD | NEW |