| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_AUDIO_RENDERER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_RENDERER_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_RENDERER_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_RENDERER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/single_thread_task_runner.h" |
| 16 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
| 17 #include "base/threading/non_thread_safe.h" | 18 #include "base/threading/non_thread_safe.h" |
| 18 #include "base/threading/thread_checker.h" | 19 #include "base/threading/thread_checker.h" |
| 19 #include "content/public/renderer/media_stream_audio_renderer.h" | 20 #include "content/public/renderer/media_stream_audio_renderer.h" |
| 20 #include "content/renderer/media/webrtc_audio_device_impl.h" | 21 #include "content/renderer/media/webrtc_audio_device_impl.h" |
| 21 #include "media/base/audio_decoder.h" | 22 #include "media/base/audio_decoder.h" |
| 22 #include "media/base/audio_pull_fifo.h" | 23 #include "media/base/audio_pull_fifo.h" |
| 23 #include "media/base/audio_renderer_sink.h" | 24 #include "media/base/audio_renderer_sink.h" |
| 24 #include "media/base/channel_layout.h" | 25 #include "media/base/channel_layout.h" |
| 25 #include "third_party/WebKit/public/platform/WebMediaStream.h" | 26 #include "third_party/WebKit/public/platform/WebMediaStream.h" |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 // Used for triggering new UMA histogram. Counts number of render | 255 // Used for triggering new UMA histogram. Counts number of render |
| 255 // callbacks modulo |kNumCallbacksBetweenRenderTimeHistograms|. | 256 // callbacks modulo |kNumCallbacksBetweenRenderTimeHistograms|. |
| 256 int render_callback_count_; | 257 int render_callback_count_; |
| 257 | 258 |
| 258 DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcAudioRenderer); | 259 DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcAudioRenderer); |
| 259 }; | 260 }; |
| 260 | 261 |
| 261 } // namespace content | 262 } // namespace content |
| 262 | 263 |
| 263 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_RENDERER_H_ | 264 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_RENDERER_H_ |
| OLD | NEW |